Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 161.1 kB / 25.02 MB, free: 8.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 250.4 MB, free: 7.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.102e-05/3.251e-05, allocations: 5.828 kB / 250.4 MB, free: 7.805 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03872/0.03875, allocations: 26 MB / 276.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02531/0.06406, allocations: 8.37 MB / 284.8 MB, free: 5.281 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009301/0.07336, allocations: 199 kB / 285 MB, free: 5.086 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.015/0.08837, allocations: 4.847 MB / 289.8 MB, free: 220 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01285/0.1012, allocations: 3.06 MB / 292.9 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005686/0.1069, allocations: 1.608 MB / 294.5 MB, free: 11.53 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01617/0.1231, allocations: 9.081 MB / 303.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01628/0.1394, allocations: 9.095 MB / 312.7 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01329/0.1527, allocations: 6.356 MB / 319 MB, free: 2.852 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009248/0.1619, allocations: 4.057 MB / 323.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003667/0.1656, allocations: 1.16 MB / 324.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006649/0.1722, allocations: 1.515 MB / 325.7 MB, free: 12.11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00437/0.1766, allocations: 2.466 MB / 328.2 MB, free: 9.637 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008837/0.1854, allocations: 3.142 MB / 331.4 MB, free: 6.488 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03385/0.2193, allocations: 15.92 MB / 347.3 MB, free: 6.523 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.126e-05/0.2193, allocations: 3.984 kB / 347.3 MB, free: 6.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2193, allocations: 0 / 347.3 MB, free: 6.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000602/0.2199, allocations: 0 / 347.3 MB, free: 6.52 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.195/0.4149, allocations: 9.771 MB / 357 MB, free: 94.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.415, allocations: 11.72 kB / 357.1 MB, free: 94.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02933/0.4443, allocations: 6.59 MB / 363.6 MB, free: 90.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/0.4554, allocations: 4.812 MB / 368.5 MB, free: 86.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004351/0.4558, allocations: 0.5329 MB / 369 MB, free: 85.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002887/0.4587, allocations: 0.7065 MB / 369.7 MB, free: 85.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02722/0.4859, allocations: 11.54 MB / 381.2 MB, free: 73.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003237/0.4862, allocations: 19.91 kB / 381.3 MB, free: 73.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002154/0.4884, allocations: 293.8 kB / 381.5 MB, free: 73.19 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004445/0.4888, allocations: 454.9 kB / 382 MB, free: 72.74 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02165/0.5105, allocations: 10.76 MB / 392.8 MB, free: 61.97 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05877/0.5693, allocations: 33.34 MB / 426.1 MB, free: 28.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01163/0.5809, allocations: 7.441 MB / 433.5 MB, free: 22.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003958/0.5849, allocations: 2.42 MB / 436 MB, free: 19.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01303/0.5979, allocations: 6.858 MB / 442.8 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.5979, allocations: 52.56 kB / 442.9 MB, free: 12.81 MB / 330.7 MB Notification: Performance of pre-optimization done (n=217): time 3.947e-06/0.5979, allocations: 4 kB / 442.9 MB, free: 12.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=233): time 0.01835/0.6163, allocations: 10.33 MB / 453.2 MB, free: 2.484 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00156/0.6178, allocations: 1.877 MB / 455.1 MB, free: 488 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006022/0.6239, allocations: 3.618 MB / 458.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003482/0.6242, allocations: 65.7 kB / 458.8 MB, free: 12.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003629/0.6278, allocations: 3.677 MB / 462.4 MB, free: 9.109 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001113/0.6289, allocations: 0.8501 MB / 463.3 MB, free: 8.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001584/0.6305, allocations: 0.9496 MB / 464.2 MB, free: 7.309 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.6307, allocations: 305.1 kB / 464.5 MB, free: 7.008 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004701/0.6354, allocations: 1.891 MB / 466.4 MB, free: 5.109 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009304/0.6447, allocations: 4.442 MB / 470.9 MB, free: 15.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01527/0.66, allocations: 6.787 MB / 477.7 MB, free: 7.426 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001252/0.6601, allocations: 24 kB / 477.7 MB, free: 7.402 MB / 362.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.02166/0.6818, allocations: 7.209 MB / 484.9 MB, free: 180 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.6819, allocations: 43.94 kB / 484.9 MB, free: 136 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002337/0.6821, allocations: 88 kB / 485 MB, free: 48 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004284/0.6864, allocations: 0.894 MB / 485.9 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00704/0.6934, allocations: 1.123 MB / 487 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/0.7069, allocations: 5.438 MB / 492.5 MB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006559/0.7135, allocations: 323.4 kB / 492.8 MB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001287/0.7148, allocations: 272 kB / 493.1 MB, free: 7.895 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.008203/0.723, allocations: 2.518 MB / 495.6 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001819/0.7248, allocations: 453.5 kB / 496 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/0.7357, allocations: 4.229 MB / 0.4885 GB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.382e-05/0.7357, allocations: 24 kB / 0.4885 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.7358, allocations: 7.984 kB / 0.4885 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.834e-05/0.7358, allocations: 11.95 kB / 0.4886 GB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2003/0.9361, allocations: 13.07 MB / 0.5013 GB, free: 122.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.39e-05/0.9361, allocations: 11.72 kB / 0.5013 GB, free: 122.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/0.9379, allocations: 479.8 kB / 0.5018 GB, free: 122.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002915/0.9408, allocations: 0.8707 MB / 0.5026 GB, free: 122.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003304/0.9411, allocations: 73.31 kB / 0.5027 GB, free: 122.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008125/0.9492, allocations: 7.158 MB / 0.5097 GB, free: 118.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00149/0.9507, allocations: 1.818 MB / 0.5115 GB, free: 116.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/0.961, allocations: 6.779 MB / 0.5181 GB, free: 112.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002157/0.9632, allocations: 0.7108 MB / 0.5188 GB, free: 111.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001019/0.9642, allocations: 62.67 kB / 0.5189 GB, free: 111.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002188/0.9664, allocations: 168.4 kB / 0.519 GB, free: 111.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000479/0.9668, allocations: 232.8 kB / 0.5192 GB, free: 111.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001999/0.967, allocations: 95.12 kB / 0.5193 GB, free: 111.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003824/0.9709, allocations: 2.256 MB / 0.5215 GB, free: 109.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.9709, allocations: 0 / 0.5215 GB, free: 109.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00505/0.9759, allocations: 1.287 MB / 0.5228 GB, free: 108.2 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.0004793/0.9764, allocations: 226.7 kB / 0.523 GB, free: 108 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006503/0.9829, allocations: 4.828 MB / 0.5277 GB, free: 103.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/0.9829, allocations: 4 kB / 0.5277 GB, free: 103.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002999/0.9859, allocations: 2.192 MB / 0.5299 GB, free: 101.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005422/0.9913, allocations: 0.8824 MB / 0.5307 GB, free: 100.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/1.01, allocations: 12.66 MB / 0.5431 GB, free: 87.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003728/1.014, allocations: 4.013 MB / 0.547 GB, free: 83.53 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003493/1.017, allocations: 1.328 MB / 0.5483 GB, free: 82.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007548/1.018, allocations: 280.5 kB / 0.5486 GB, free: 81.93 MB / 378.7 MB Notification: Performance of SimCode: time 1.333e-06/1.018, allocations: 0 / 0.5486 GB, free: 81.93 MB / 378.7 MB Notification: Performance of Templates: time 0.07533/1.093, allocations: 47.58 MB / 0.595 GB, free: 34.39 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.259639665018767]