Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 114.6 kB / 18.4 MB, free: 4.773 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 190.7 kB / 21.34 MB, free: 1.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 247 MB, free: 4.34 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 47.92 kB / 358.7 MB, free: 8.449 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0906/0.09224, allocations: 49.43 MB / 408.1 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.00523/0.0975, allocations: 3.693 MB / 411.8 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002572/0.1001, allocations: 1.433 MB / 413.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000279/0.1004, allocations: 11.94 kB / 413.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001905/0.1023, allocations: 0.7428 MB / 414 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.1037, allocations: 0.548 MB / 414.5 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009207/0.1046, allocations: 426.6 kB / 414.9 MB, free: 100 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006418/0.1052, allocations: 454.1 kB / 415.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007861/0.106, allocations: 469.9 kB / 415.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003681/0.1064, allocations: 211.1 kB / 416 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003975/0.1068, allocations: 274.9 kB / 416.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.606e-05/0.1069, allocations: 48 kB / 416.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004803/0.1074, allocations: 211.8 kB / 416.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.1075, allocations: 107.6 kB / 416.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000263/0.1078, allocations: 234.8 kB / 416.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009852/0.1088, allocations: 0.7043 MB / 417.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1088, allocations: 0 / 417.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1088, allocations: 3.984 kB / 417.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.1088, allocations: 0 / 417.6 MB, free: 13.41 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.00229/0.1111, allocations: 0.9162 MB / 418.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.1112, allocations: 11.89 kB / 418.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003575/0.1148, allocations: 496.2 kB / 419 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005452/0.1153, allocations: 311.7 kB / 419.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.254e-05/0.1154, allocations: 41.69 kB / 419.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.1155, allocations: 56.33 kB / 419.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.1166, allocations: 0.5298 MB / 420 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.1166, allocations: 4 kB / 420 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.61e-05/0.1167, allocations: 24 kB / 420 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.1167, allocations: 15.98 kB / 420 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.1178, allocations: 0.5751 MB / 420.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003157/0.121, allocations: 1.871 MB / 422.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002335/0.1233, allocations: 2.161 MB / 424.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005875/0.1239, allocations: 262.1 kB / 424.9 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.1241, allocations: 97.53 kB / 425 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.1241, allocations: 35 kB / 425 MB, free: 5.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.225e-06/0.1241, allocations: 0 / 425 MB, free: 5.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.0019/0.126, allocations: 0.7505 MB / 425.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.1261, allocations: 55.84 kB / 425.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.1263, allocations: 190.4 kB / 426 MB, free: 4.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.1264, allocations: 29.7 kB / 426 MB, free: 4.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.1265, allocations: 225 kB / 426.2 MB, free: 4.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.1267, allocations: 170.6 kB / 426.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.1268, allocations: 86.2 kB / 426.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.127, allocations: 334.8 kB / 426.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.1274, allocations: 157 kB / 427 MB, free: 3.363 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003948/0.1278, allocations: 234.6 kB / 427.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007576/0.1285, allocations: 416.8 kB / 427.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1285, allocations: 0 / 427.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001127/0.1297, allocations: 0.5397 MB / 428.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1297, allocations: 14.12 kB / 428.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.1297, allocations: 0 / 428.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000373/0.1301, allocations: 80.81 kB / 428.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.1305, allocations: 99.88 kB / 428.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.1327, allocations: 1.782 MB / 430.1 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1745/0.3072, allocations: 36.61 kB / 430.1 MB, free: 22.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.825e-05/0.3073, allocations: 18.89 kB / 430.2 MB, free: 22.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002212/0.3075, allocations: 168.8 kB / 430.3 MB, free: 21.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.849e-05/0.3076, allocations: 28.86 kB / 430.4 MB, free: 21.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.3086, allocations: 0.5387 MB / 430.9 MB, free: 21.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3086, allocations: 6.062 kB / 430.9 MB, free: 21.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3086, allocations: 3.031 kB / 430.9 MB, free: 21.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.3086, allocations: 9.969 kB / 430.9 MB, free: 21.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.3102, allocations: 1.134 MB / 432 MB, free: 21.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3102, allocations: 1.219 kB / 432 MB, free: 21.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.3105, allocations: 82.05 kB / 432.1 MB, free: 21.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002711/0.3108, allocations: 82.53 kB / 432.2 MB, free: 21.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.3108, allocations: 10.97 kB / 432.2 MB, free: 21.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.3121, allocations: 1.764 MB / 434 MB, free: 20.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.3121, allocations: 4.594 kB / 434 MB, free: 20.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.3133, allocations: 0.8067 MB / 434.8 MB, free: 20.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.263e-05/0.3134, allocations: 108.4 kB / 434.9 MB, free: 19.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.3134, allocations: 15.44 kB / 434.9 MB, free: 19.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.3136, allocations: 18.78 kB / 434.9 MB, free: 19.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/0.3138, allocations: 37.03 kB / 435 MB, free: 19.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.3138, allocations: 14.95 kB / 435 MB, free: 19.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.309e-05/0.3139, allocations: 137 kB / 435.1 MB, free: 19.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3139, allocations: 0 / 435.1 MB, free: 19.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004922/0.3144, allocations: 150.5 kB / 435.3 MB, free: 19.85 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (44): * Single equations (assignments): 43 * 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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002043/0.3146, allocations: 141.7 kB / 435.4 MB, free: 19.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009829/0.3156, allocations: 0.5677 MB / 436 MB, free: 19.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3156, allocations: 0 / 436 MB, free: 19.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000665/0.3163, allocations: 386.4 kB / 436.3 MB, free: 19.51 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.3166, allocations: 30.58 kB / 436.4 MB, free: 19.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.318, allocations: 0.856 MB / 437.2 MB, free: 19.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.3183, allocations: 0.8108 MB / 438 MB, free: 18.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.3184, allocations: 38.09 kB / 438.1 MB, free: 18.42 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3184, allocations: 0 / 438.1 MB, free: 18.42 MB / 350.1 MB Notification: Performance of Templates: time 0.01025/0.3287, allocations: 6.341 MB / 444.4 MB, free: 17.92 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.413043761043809]