Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001553/0.001553, allocations: 88.28 kB / 20.96 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001598/0.001598, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 177 MB / 204.4 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 272.2 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.112e-05/3.256e-05, allocations: 2.312 kB / 272.2 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.1461/0.1461, allocations: 26.65 MB / 298.9 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01583/0.162, allocations: 8.612 MB / 307.5 MB, free: 9.918 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006218/0.1682, allocations: 221.7 kB / 307.7 MB, free: 9.852 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01082/0.179, allocations: 4.851 MB / 312.6 MB, free: 6.973 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008567/0.1876, allocations: 3.12 MB / 315.7 MB, free: 4.461 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004059/0.1916, allocations: 1.6 MB / 317.3 MB, free: 3.188 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01121/0.2028, allocations: 9.182 MB / 326.5 MB, free: 11.97 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01863/0.2215, allocations: 9.119 MB / 335.6 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0143/0.2358, allocations: 6.364 MB / 341.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008803/0.2446, allocations: 4.081 MB / 346 MB, free: 8.289 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003267/0.2478, allocations: 1.16 MB / 347.2 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00528/0.2531, allocations: 1.53 MB / 348.7 MB, free: 5.598 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00375/0.2569, allocations: 2.466 MB / 351.2 MB, free: 3.125 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007386/0.2643, allocations: 3.146 MB / 354.3 MB, free: 15.96 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02495/0.2892, allocations: 16.05 MB / 370.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2892, allocations: 0 / 370.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2892, allocations: 0 / 370.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003871/0.2896, allocations: 0 / 370.4 MB, free: 15.88 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.03171/0.3213, allocations: 9.818 MB / 380.2 MB, free: 5.973 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.3214, allocations: 8.031 kB / 380.2 MB, free: 5.965 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03283/0.3542, allocations: 6.5 MB / 386.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01272/0.3669, allocations: 5.324 MB / 392 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007274/0.3676, allocations: 0.5299 MB / 392.6 MB, free: 9.508 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002705/0.3703, allocations: 0.7186 MB / 393.3 MB, free: 8.789 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03/0.4003, allocations: 11.57 MB / 404.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003457/0.4007, allocations: 15.89 kB / 404.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002279/0.403, allocations: 300 kB / 405.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006589/0.4036, allocations: 450.9 kB / 405.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02716/0.4308, allocations: 10.81 MB / 416.4 MB, free: 1.508 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1998/0.6305, allocations: 33.49 MB / 449.9 MB, free: 96.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01205/0.6426, allocations: 7.497 MB / 457.4 MB, free: 95.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003587/0.6462, allocations: 2.45 MB / 459.8 MB, free: 94.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01185/0.658, allocations: 6.949 MB / 466.8 MB, free: 91.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.6581, allocations: 56.19 kB / 466.8 MB, free: 91.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 4.508e-06/0.6581, allocations: 2.781 kB / 466.9 MB, free: 91.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=233): time 0.01855/0.6766, allocations: 10.38 MB / 477.2 MB, free: 86.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001526/0.6782, allocations: 1.854 MB / 479.1 MB, free: 84.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004401/0.6826, allocations: 3.641 MB / 482.7 MB, free: 82.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003337/0.6829, allocations: 61.7 kB / 482.8 MB, free: 82.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001603/0.6845, allocations: 3.681 MB / 486.5 MB, free: 78.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005857/0.6851, allocations: 0.8634 MB / 487.3 MB, free: 78.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001073/0.6861, allocations: 0.9496 MB / 488.3 MB, free: 77.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.171e-05/0.6862, allocations: 316.7 kB / 488.6 MB, free: 76.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002135/0.6883, allocations: 1.899 MB / 490.5 MB, free: 74.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002972/0.6913, allocations: 4.438 MB / 494.9 MB, free: 69.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005659/0.697, allocations: 6.802 MB / 0.49 GB, free: 61.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.525e-05/0.697, allocations: 24 kB / 0.49 GB, free: 61.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.0102/0.7072, allocations: 7.22 MB / 0.497 GB, free: 53.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.458e-05/0.7073, allocations: 40 kB / 0.4971 GB, free: 53.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.876e-05/0.7074, allocations: 95.88 kB / 0.4972 GB, free: 53.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002493/0.7099, allocations: 0.8963 MB / 0.4981 GB, free: 52.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003452/0.7133, allocations: 1.13 MB / 0.4992 GB, free: 51.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005944/0.7192, allocations: 5.433 MB / 0.5045 GB, free: 46.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003783/0.723, allocations: 315.4 kB / 0.5048 GB, free: 45.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000608/0.7236, allocations: 276 kB / 0.505 GB, free: 45.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 393 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (590): * Single equations (assignments): 587 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003434/0.7271, allocations: 2.526 MB / 0.5075 GB, free: 43.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009374/0.728, allocations: 457.5 kB / 0.5079 GB, free: 42.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006647/0.7347, allocations: 4.223 MB / 0.512 GB, free: 38.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/0.7347, allocations: 31.92 kB / 0.5121 GB, free: 38.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.573e-05/0.7347, allocations: 8 kB / 0.5121 GB, free: 38.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.762e-05/0.7347, allocations: 11.95 kB / 0.5121 GB, free: 38.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02154/0.7563, allocations: 13.12 MB / 0.5249 GB, free: 25.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.825e-05/0.7563, allocations: 12 kB / 0.5249 GB, free: 25.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/0.7581, allocations: 487.2 kB / 0.5254 GB, free: 24.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002585/0.7607, allocations: 0.8651 MB / 0.5262 GB, free: 23.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002733/0.7609, allocations: 75.91 kB / 0.5263 GB, free: 23.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007267/0.7682, allocations: 7.163 MB / 0.5333 GB, free: 16.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0013/0.7695, allocations: 1.819 MB / 0.5351 GB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008653/0.7782, allocations: 6.8 MB / 0.5417 GB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001976/0.7801, allocations: 0.7238 MB / 0.5424 GB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008893/0.781, allocations: 63.98 kB / 0.5425 GB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/0.783, allocations: 163.9 kB / 0.5426 GB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004618/0.7835, allocations: 233.3 kB / 0.5429 GB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/0.7836, allocations: 92.16 kB / 0.5429 GB, free: 5.961 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003633/0.7873, allocations: 2.272 MB / 0.5452 GB, free: 3.703 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.7873, allocations: 4 kB / 0.5452 GB, free: 3.699 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006064/0.7933, allocations: 1.281 MB / 0.5464 GB, free: 2.418 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007722/0.7941, allocations: 242.3 kB / 0.5467 GB, free: 2.176 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009237/0.8034, allocations: 4.827 MB / 0.5514 GB, free: 13.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.802e-05/0.8034, allocations: 4 kB / 0.5514 GB, free: 13.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004926/0.8083, allocations: 2.188 MB / 0.5535 GB, free: 11.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006204/0.8145, allocations: 0.8927 MB / 0.5544 GB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02994/0.8444, allocations: 12.65 MB / 0.5667 GB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008781/0.8532, allocations: 4.02 MB / 0.5707 GB, free: 9.316 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005382/0.8586, allocations: 1.33 MB / 0.572 GB, free: 7.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001336/0.8599, allocations: 300.4 kB / 0.5722 GB, free: 7.684 MB / 410.7 MB Notification: Performance of SimCode: time 1.623e-06/0.8599, allocations: 0 / 0.5722 GB, free: 7.684 MB / 410.7 MB Notification: Performance of Templates: time 0.2136/1.074, allocations: 48.22 MB / 0.6193 GB, free: 109.5 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.0138560510240495]