Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.001281/0.001281, allocations: 73.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001401/0.001401, allocations: 160.8 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.pin_n1.reference.gamma|transformer.pin_n2.reference.gamma|currentSensor.abs_i|currentSensor.arg_i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.pin_n1.reference.gamma|transformer.pin_n2.reference.gamma|currentSensor.abs_i|currentSensor.arg_i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 54.23 kB / 325.6 MB, free: 256 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08666/0.08823, allocations: 53.34 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.006536/0.09476, allocations: 4.556 MB / 383.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003179/0.09794, allocations: 1.729 MB / 385.2 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002068/0.09815, allocations: 16 kB / 385.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002862/0.101, allocations: 1.151 MB / 386.4 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.1024, allocations: 0.5945 MB / 387 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.1037, allocations: 0.5821 MB / 387.5 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009128/0.1046, allocations: 0.7583 MB / 388.3 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000834/0.1055, allocations: 0.5081 MB / 388.8 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004393/0.1059, allocations: 346.6 kB / 389.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000494/0.1064, allocations: 374.4 kB / 389.5 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.443e-05/0.1065, allocations: 60 kB / 389.6 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004764/0.107, allocations: 247.8 kB / 389.8 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.1071, allocations: 171.3 kB / 390 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003291/0.1075, allocations: 306.5 kB / 390.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.1088, allocations: 1.035 MB / 391.3 MB, free: 3.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1088, allocations: 0 / 391.3 MB, free: 3.195 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1088, allocations: 0 / 391.3 MB, free: 3.195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.068e-05/0.1088, allocations: 3.984 kB / 391.3 MB, free: 3.191 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.00391/0.1127, allocations: 1.32 MB / 392.6 MB, free: 1.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.1128, allocations: 12.03 kB / 392.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006255/0.119, allocations: 0.7887 MB / 393.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000713/0.1197, allocations: 350.7 kB / 393.8 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.68e-05/0.1198, allocations: 58.38 kB / 393.8 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.1199, allocations: 84.11 kB / 393.9 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.1214, allocations: 0.8229 MB / 394.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.1214, allocations: 7.953 kB / 394.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.648e-05/0.1215, allocations: 32 kB / 394.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.1215, allocations: 20 kB / 394.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.1233, allocations: 0.8979 MB / 395.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003975/0.1272, allocations: 2.2 MB / 397.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.1291, allocations: 0.7726 MB / 398.7 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005549/0.1297, allocations: 292 kB / 399 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-05/0.1298, allocations: 32.56 kB / 399 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.1298, allocations: 43.22 kB / 399 MB, free: 11.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.124e-06/0.1298, allocations: 0 / 399 MB, free: 11.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.003751/0.1336, allocations: 1.252 MB / 400.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.1336, allocations: 60.06 kB / 400.3 MB, free: 9.969 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.1339, allocations: 257.8 kB / 400.6 MB, free: 9.703 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.611e-05/0.134, allocations: 33.7 kB / 400.6 MB, free: 9.664 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.1342, allocations: 308.6 kB / 400.9 MB, free: 9.355 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.1344, allocations: 265.7 kB / 401.2 MB, free: 9.094 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.1346, allocations: 122.6 kB / 401.3 MB, free: 8.969 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.1348, allocations: 354.7 kB / 401.7 MB, free: 8.613 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004829/0.1353, allocations: 233.9 kB / 401.9 MB, free: 8.387 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006001/0.1359, allocations: 369.4 kB / 402.2 MB, free: 7.984 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.137, allocations: 0.6298 MB / 402.9 MB, free: 7.312 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.137, allocations: 4 kB / 402.9 MB, free: 7.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00186/0.1389, allocations: 0.8569 MB / 403.7 MB, free: 6.441 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1389, allocations: 4 kB / 403.7 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1389, allocations: 4 kB / 403.7 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007915/0.1397, allocations: 211.7 kB / 403.9 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000575/0.1403, allocations: 135.8 kB / 404.1 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003498/0.1438, allocations: 2.531 MB / 406.6 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.1442, allocations: 71.55 kB / 406.7 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/0.1442, allocations: 28 kB / 406.7 MB, free: 3.367 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002641/0.1445, allocations: 209.7 kB / 406.9 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.1446, allocations: 43.75 kB / 407 MB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001988/0.1466, allocations: 0.8818 MB / 407.8 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.1466, allocations: 8 kB / 407.8 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.1466, allocations: 4 kB / 407.9 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/0.1466, allocations: 7.922 kB / 407.9 MB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/0.1494, allocations: 1.488 MB / 409.3 MB, free: 0.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1494, allocations: 0 / 409.3 MB, free: 0.668 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005108/0.1499, allocations: 111.9 kB / 409.5 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007262/0.1506, allocations: 200.7 kB / 409.7 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.074e-05/0.1506, allocations: 19.92 kB / 409.7 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003437/0.1541, allocations: 2.536 MB / 412.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1541, allocations: 0 / 412.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002444/0.1565, allocations: 1.257 MB / 413.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.046e-05/0.1566, allocations: 55.56 kB / 413.5 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-05/0.1567, allocations: 15.98 kB / 413.5 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/0.157, allocations: 20.09 kB / 413.6 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.1571, allocations: 68.52 kB / 413.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.632e-05/0.1572, allocations: 19.98 kB / 413.6 MB, free: 12.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001889/0.1574, allocations: 177.2 kB / 413.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1574, allocations: 0 / 413.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000771/0.1581, allocations: 239.5 kB / 414 MB, free: 11.85 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002564/0.1584, allocations: 147.2 kB / 414.2 MB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001588/0.16, allocations: 0.8128 MB / 415 MB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.16, allocations: 4.25 kB / 415 MB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009138/0.1609, allocations: 0.5137 MB / 415.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.1613, allocations: 64.34 kB / 415.6 MB, free: 10.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.1633, allocations: 1.176 MB / 416.8 MB, free: 9.066 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.1636, allocations: 286.8 kB / 417 MB, free: 8.762 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002705/0.1639, allocations: 76.38 kB / 417.1 MB, free: 8.684 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.164, allocations: 48.48 kB / 417.2 MB, free: 8.637 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.164, allocations: 4 kB / 417.2 MB, free: 8.633 MB / 382.1 MB Notification: Performance of Templates: time 0.01475/0.1788, allocations: 7.336 MB / 424.5 MB, free: 1.371 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/MultipleResonance/MultipleResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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: 4.452618126058951]