Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.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.002016/0.002016, allocations: 120.5 kB / 18.41 MB, free: 4.664 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.002363/0.002363, allocations: 190.7 kB / 21.35 MB, free: 1.734 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.583/1.583, allocations: 222.9 MB / 247 MB, free: 4.195 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.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 47.92 kB / 358.7 MB, free: 8.301 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1119, allocations: 49.43 MB / 408.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004413/0.1163, allocations: 2.884 MB / 411 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.1176, allocations: 0.6777 MB / 411.7 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.1177, allocations: 8 kB / 411.7 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.1179, allocations: 59.36 kB / 411.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.1182, allocations: 95.19 kB / 411.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.1184, allocations: 83.89 kB / 411.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004315/0.1189, allocations: 382.8 kB / 412.3 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.1192, allocations: 172.4 kB / 412.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.1194, allocations: 139.5 kB / 412.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.1196, allocations: 159.3 kB / 412.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.629e-05/0.1197, allocations: 35.98 kB / 412.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.629e-05/0.1198, allocations: 36 kB / 412.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.67e-05/0.1198, allocations: 71.77 kB / 412.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.12, allocations: 171.1 kB / 413.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004587/0.1205, allocations: 390.4 kB / 413.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1205, allocations: 0 / 413.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1205, allocations: 0 / 413.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.1205, allocations: 0 / 413.4 MB, free: 1.473 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00107/0.1216, allocations: 0.6273 MB / 414.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1216, allocations: 12.03 kB / 414.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.025e-05/0.1217, allocations: 36.7 kB / 414.1 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003991/0.1221, allocations: 267.9 kB / 414.4 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.1222, allocations: 25.03 kB / 414.4 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.803e-05/0.1222, allocations: 32.33 kB / 414.4 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005704/0.1228, allocations: 286.4 kB / 414.7 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.1228, allocations: 3.984 kB / 414.7 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/0.1229, allocations: 16 kB / 414.7 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.1229, allocations: 11.94 kB / 414.7 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005031/0.1234, allocations: 214.5 kB / 415 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.1251, allocations: 1.03 MB / 416 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.1254, allocations: 166.5 kB / 416.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.1257, allocations: 124.8 kB / 416.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.1258, allocations: 7.922 kB / 416.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.1258, allocations: 34.56 kB / 416.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.292e-06/0.1258, allocations: 0 / 416.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006215/0.1265, allocations: 223 kB / 416.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.1265, allocations: 59.34 kB / 416.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.1268, allocations: 219.1 kB / 416.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.1268, allocations: 25.7 kB / 416.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.1269, allocations: 192.4 kB / 417 MB, free: 13.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.543e-05/0.127, allocations: 79.38 kB / 417.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.266e-05/0.1271, allocations: 53.94 kB / 417.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1273, allocations: 334.8 kB / 417.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.1275, allocations: 60.53 kB / 417.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.1277, allocations: 154.5 kB / 417.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/0.1281, allocations: 225.1 kB / 417.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.1282, allocations: 4 kB / 417.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005338/0.1287, allocations: 277.1 kB / 418.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1287, allocations: 4 kB / 418.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1287, allocations: 4 kB / 418.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.1288, allocations: 4 kB / 418.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.1291, allocations: 71.91 kB / 418.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.1291, allocations: 15.91 kB / 418.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.1293, allocations: 27.78 kB / 418.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.1293, allocations: 8.188 kB / 418.3 MB, free: 12.29 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000154/0.1294, allocations: 153.7 kB / 418.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.1295, allocations: 23.83 kB / 418.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004472/0.13, allocations: 196.3 kB / 418.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.13, allocations: 4 kB / 418.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.13, allocations: 0 / 418.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.13, allocations: 0 / 418.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000891/0.1309, allocations: 0.6032 MB / 419.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1309, allocations: 3.984 kB / 419.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002864/0.1312, allocations: 55.97 kB / 419.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1312, allocations: 0 / 419.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.1312, allocations: 8 kB / 419.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1313, allocations: 3.938 kB / 419.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1313, allocations: 8.062 kB / 419.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006629/0.1319, allocations: 379.2 kB / 419.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.577e-05/0.132, allocations: 101.1 kB / 419.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.1321, allocations: 16.11 kB / 419.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.1322, allocations: 15.98 kB / 419.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.1323, allocations: 11.98 kB / 419.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.1323, allocations: 8 kB / 419.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001548/0.1325, allocations: 156.7 kB / 420 MB, free: 10.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1325, allocations: 0 / 420 MB, free: 10.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003426/0.1328, allocations: 83.72 kB / 420.1 MB, free: 10.36 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.v) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001442/0.133, allocations: 103.2 kB / 420.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004508/0.1335, allocations: 179.7 kB / 420.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.1335, allocations: 0 / 420.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.1337, allocations: 80.47 kB / 420.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.134, allocations: 35.06 kB / 420.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.1354, allocations: 0.8641 MB / 421.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.1359, allocations: 0.7712 MB / 422.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.411e-05/0.136, allocations: 27.38 kB / 422.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.136, allocations: 0 / 422.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of Templates: time 0.005402/0.1414, allocations: 2.974 MB / 425.1 MB, free: 5.266 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.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.445293601020239]