Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.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.0009109/0.0009109, allocations: 81.81 kB / 21.42 MB, free: 3.066 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.000965/0.000965, allocations: 160.1 kB / 24.82 MB, free: 8.914 MB / 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 0.8765/0.8765, allocations: 177 MB / 205.1 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2364/0.2364, allocations: 34.86 MB / 296.6 MB, free: 0.5039 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC|iLL|iL|vCC",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC|iLL|iL|vCC",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 379.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.454e-05, allocations: 2.312 kB / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.007239/0.007263, allocations: 6.228 MB / 385.5 MB, free: 11.57 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004248/0.01151, allocations: 2.173 MB / 387.6 MB, free: 9.383 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005626/0.01207, allocations: 20 kB / 387.6 MB, free: 9.363 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002559/0.01463, allocations: 1.575 MB / 389.2 MB, free: 7.781 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.01655, allocations: 0.7184 MB / 389.9 MB, free: 7.059 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.01774, allocations: 0.5646 MB / 390.5 MB, free: 6.492 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001269/0.019, allocations: 1.221 MB / 391.7 MB, free: 5.266 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.02018, allocations: 0.8442 MB / 392.6 MB, free: 4.395 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007277/0.02091, allocations: 0.7288 MB / 393.3 MB, free: 3.664 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005999/0.02151, allocations: 0.4986 MB / 393.8 MB, free: 3.164 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.02166, allocations: 104 kB / 393.9 MB, free: 3.062 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005401/0.0222, allocations: 283.6 kB / 394.2 MB, free: 2.785 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.02237, allocations: 270.9 kB / 394.4 MB, free: 2.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003704/0.02274, allocations: 391 kB / 394.8 MB, free: 2.137 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.02437, allocations: 0.9962 MB / 395.8 MB, free: 1.137 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.02437, allocations: 0 / 395.8 MB, free: 1.137 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.02437, allocations: 0 / 395.8 MB, free: 1.137 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.056e-05/0.0244, allocations: 0 / 395.8 MB, free: 1.137 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.002346/0.02675, allocations: 1.72 MB / 397.5 MB, free: 15.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.02678, allocations: 8.031 kB / 397.5 MB, free: 15.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004079/0.03086, allocations: 1.401 MB / 398.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/0.0314, allocations: 490.4 kB / 399.4 MB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.421e-05/0.03145, allocations: 82.7 kB / 399.5 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.03158, allocations: 120.3 kB / 399.6 MB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.03265, allocations: 1.049 MB / 400.7 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.03268, allocations: 8.188 kB / 400.7 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.869e-05/0.03275, allocations: 44.38 kB / 400.7 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.03277, allocations: 35.94 kB / 400.8 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007112/0.03348, allocations: 0.6252 MB / 401.4 MB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00345/0.03693, allocations: 3.582 MB / 405 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.03814, allocations: 0.9708 MB / 405.9 MB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.03833, allocations: 201.9 kB / 406.1 MB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.872e-05/0.0384, allocations: 43.97 kB / 406.2 MB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.03843, allocations: 46.14 kB / 406.2 MB, free: 6.355 MB / 378.7 MB Notification: Performance of pre-optimization done (n=84): time 2.124e-06/0.03843, allocations: 4 kB / 406.2 MB, free: 6.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=84): time 0.0008523/0.03928, allocations: 0.6 MB / 406.8 MB, free: 5.746 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.03935, allocations: 251.3 kB / 407.1 MB, free: 5.445 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.03961, allocations: 450.1 kB / 407.5 MB, free: 4.988 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.03965, allocations: 41.69 kB / 407.6 MB, free: 4.941 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.03986, allocations: 0.5299 MB / 408.1 MB, free: 4.402 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.04001, allocations: 309.3 kB / 408.4 MB, free: 4.098 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.04021, allocations: 204.7 kB / 408.6 MB, free: 3.891 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.04037, allocations: 0.5507 MB / 409.1 MB, free: 3.328 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.04055, allocations: 126.5 kB / 409.3 MB, free: 3.203 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003702/0.04092, allocations: 0.5827 MB / 409.8 MB, free: 2.438 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005716/0.04149, allocations: 0.7006 MB / 410.5 MB, free: 1.586 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.0415, allocations: 4 kB / 410.5 MB, free: 1.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.000819/0.04231, allocations: 0.7414 MB / 411.3 MB, free: 0.832 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.04233, allocations: 12 kB / 411.3 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.04234, allocations: 12 kB / 411.3 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.779e-05/0.04242, allocations: 35.66 kB / 411.3 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005148/0.04293, allocations: 272.3 kB / 411.6 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.04294, allocations: 19.94 kB / 411.6 MB, free: 496 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/0.04327, allocations: 119.3 kB / 411.7 MB, free: 376 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/0.04332, allocations: 39.98 kB / 411.8 MB, free: 336 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (129): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.000184/0.0435, allocations: 228.1 kB / 412 MB, free: 96 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.04364, allocations: 95.56 kB / 412.1 MB, free: 0 / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007194/0.04436, allocations: 0.615 MB / 412.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.04437, allocations: 12 kB / 412.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.04437, allocations: 4 kB / 412.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.04438, allocations: 7.984 kB / 412.7 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.04596, allocations: 1.685 MB / 414.4 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.04597, allocations: 3.984 kB / 414.4 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/0.04638, allocations: 199.8 kB / 414.6 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.024e-05/0.04643, allocations: 23.67 kB / 414.6 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.04646, allocations: 27.92 kB / 414.7 MB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.04647, allocations: 7.938 kB / 414.7 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.04647, allocations: 4 kB / 414.7 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009589/0.04743, allocations: 1.42 MB / 416.1 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/0.04748, allocations: 59.48 kB / 416.2 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.953e-05/0.04754, allocations: 27.92 kB / 416.2 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/0.04785, allocations: 39.98 kB / 416.2 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.148e-05/0.04794, allocations: 75.8 kB / 416.3 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.04797, allocations: 23.98 kB / 416.3 MB, free: 11.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001479/0.04812, allocations: 275 kB / 416.6 MB, free: 11.42 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04812, allocations: 4 kB / 416.6 MB, free: 11.42 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006353/0.04876, allocations: 307.2 kB / 416.9 MB, free: 11.12 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (currentCurrent.pin_p.reference.gamma,constantSource.pin_p.reference.gamma,currentSource.currentSource.pin_p.reference.gamma,voltageSource.voltageSource.pin_p.reference.gamma) * 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 (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.0001923/0.04895, allocations: 159 kB / 417.1 MB, free: 10.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005736/0.04952, allocations: 0.5193 MB / 417.6 MB, free: 10.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.04952, allocations: 0 / 417.6 MB, free: 10.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002532/0.04978, allocations: 266.2 kB / 417.8 MB, free: 10.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005584/0.05034, allocations: 120.6 kB / 418 MB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.05197, allocations: 1.544 MB / 419.5 MB, free: 8.445 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.05209, allocations: 173.8 kB / 419.7 MB, free: 8.258 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002724/0.05236, allocations: 129.4 kB / 419.8 MB, free: 8.129 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003254/0.05269, allocations: 230.1 kB / 420 MB, free: 7.902 MB / 394.7 MB Notification: Performance of SimCode: time 8.31e-07/0.05269, allocations: 0 / 420 MB, free: 7.902 MB / 394.7 MB Notification: Performance of Templates: time 0.01191/0.0646, allocations: 10.49 MB / 430.5 MB, free: 13.51 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/FrequencySweep/FrequencySweep.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.128556814044714]