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.001929/0.001929, allocations: 112 kB / 20.43 MB, free: 1.301 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.002068/0.002068, allocations: 189.2 kB / 23.72 MB, free: 4.551 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.523/1.523, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.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.001606/0.001606, allocations: 43.92 kB / 370.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2791, allocations: 52.18 MB / 423.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004503/0.2836, allocations: 2.931 MB / 426.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.285, allocations: 0.6738 MB / 426.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.2851, allocations: 15.94 kB / 426.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.2853, allocations: 55.44 kB / 426.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.2855, allocations: 91.19 kB / 426.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.2858, allocations: 99.75 kB / 427 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004228/0.2862, allocations: 382.8 kB / 427.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002522/0.2864, allocations: 132.8 kB / 427.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.2867, allocations: 143.6 kB / 427.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.2868, allocations: 163.2 kB / 427.8 MB, free: 9.992 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.679e-05/0.2869, allocations: 32 kB / 427.8 MB, free: 9.961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.896e-05/0.287, allocations: 32 kB / 427.9 MB, free: 9.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.43e-05/0.287, allocations: 79.75 kB / 427.9 MB, free: 9.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.2872, allocations: 171.2 kB / 428.1 MB, free: 9.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004338/0.2877, allocations: 383.6 kB / 428.5 MB, free: 9.312 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2877, allocations: 4 kB / 428.5 MB, free: 9.309 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2877, allocations: 0 / 428.5 MB, free: 9.309 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.2877, allocations: 4 kB / 428.5 MB, free: 9.305 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.001026/0.2887, allocations: 0.5481 MB / 429 MB, free: 8.727 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2887, allocations: 16.03 kB / 429 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.988e-05/0.2888, allocations: 36.7 kB / 429.1 MB, free: 8.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.2892, allocations: 206 kB / 429.3 MB, free: 8.449 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/0.2892, allocations: 21.03 kB / 429.3 MB, free: 8.426 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.094e-05/0.2893, allocations: 36.33 kB / 429.3 MB, free: 8.391 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005686/0.2898, allocations: 286.3 kB / 429.6 MB, free: 8.109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.2898, allocations: 0 / 429.6 MB, free: 8.109 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.2899, allocations: 12 kB / 429.6 MB, free: 8.098 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.2899, allocations: 12 kB / 429.6 MB, free: 8.086 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004893/0.2904, allocations: 210.5 kB / 429.8 MB, free: 7.883 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.292, allocations: 0.976 MB / 430.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003559/0.2924, allocations: 149.8 kB / 431 MB, free: 6.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.2927, allocations: 120.8 kB / 431.1 MB, free: 6.559 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.2927, allocations: 7.938 kB / 431.1 MB, free: 6.551 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.2928, allocations: 34.56 kB / 431.1 MB, free: 6.508 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.2928, allocations: 3.938 kB / 431.1 MB, free: 6.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006273/0.2934, allocations: 220.2 kB / 431.3 MB, free: 6.285 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.2934, allocations: 63.41 kB / 431.4 MB, free: 6.211 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.2937, allocations: 211.1 kB / 431.6 MB, free: 5.992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.2937, allocations: 33.7 kB / 431.6 MB, free: 5.953 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.2939, allocations: 200.3 kB / 431.8 MB, free: 5.754 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.678e-05/0.2939, allocations: 79.3 kB / 431.9 MB, free: 5.676 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.782e-05/0.294, allocations: 53.94 kB / 432 MB, free: 5.613 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.2942, allocations: 334.8 kB / 432.3 MB, free: 5.277 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.2944, allocations: 64.53 kB / 432.4 MB, free: 5.215 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.2946, allocations: 151.2 kB / 432.5 MB, free: 5.035 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000445/0.2951, allocations: 221.3 kB / 432.7 MB, free: 4.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2951, allocations: 0 / 432.7 MB, free: 4.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005533/0.2956, allocations: 273.1 kB / 433 MB, free: 4.512 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2956, allocations: 4 kB / 433 MB, free: 4.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.2957, allocations: 7.984 kB / 433 MB, free: 4.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.2957, allocations: 8.25 kB / 433 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.296, allocations: 67.91 kB / 433.1 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.296, allocations: 4 kB / 433.1 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.2961, allocations: 31.77 kB / 433.1 MB, free: 4.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.2962, allocations: 16 kB / 433.1 MB, free: 4.375 MB / 334.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.000155/0.2963, allocations: 137.8 kB / 433.3 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/0.2964, allocations: 19.84 kB / 433.3 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004591/0.2968, allocations: 211.3 kB / 433.5 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.2968, allocations: 7.922 kB / 433.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.2968, allocations: 4 kB / 433.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.2968, allocations: 4 kB / 433.5 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008835/0.2977, allocations: 0.5692 MB / 434.1 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2977, allocations: 0 / 434.1 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.298, allocations: 55.91 kB / 434.1 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.298, allocations: 4 kB / 434.1 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.2981, allocations: 7.984 kB / 434.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.2981, allocations: 4 kB / 434.1 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2981, allocations: 0 / 434.1 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006906/0.2987, allocations: 377.3 kB / 434.5 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.346e-05/0.2988, allocations: 23.8 kB / 434.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.2988, allocations: 12.05 kB / 434.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.299, allocations: 15.98 kB / 434.6 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.2991, allocations: 11.98 kB / 434.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.2991, allocations: 12 kB / 434.6 MB, free: 2.816 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001548/0.2992, allocations: 160.6 kB / 434.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2992, allocations: 0 / 434.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003504/0.2996, allocations: 79.78 kB / 434.8 MB, free: 2.582 MB / 334.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.0001306/0.2997, allocations: 111.3 kB / 434.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004359/0.3002, allocations: 167.8 kB / 435.1 MB, free: 2.297 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3002, allocations: 0 / 435.1 MB, free: 2.297 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.3004, allocations: 75.91 kB / 435.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.3007, allocations: 35.17 kB / 435.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.3021, allocations: 0.8674 MB / 436.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.3025, allocations: 0.7712 MB / 436.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.3026, allocations: 21.95 kB / 436.9 MB, free: 488 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.3027, allocations: 19.44 kB / 436.9 MB, free: 468 kB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3027, allocations: 3.938 kB / 436.9 MB, free: 464 kB / 334.1 MB Notification: Performance of Templates: time 0.006217/0.3089, allocations: 2.232 MB / 439.1 MB, free: 14.24 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.6590645937249064]