Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.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.0008291/0.0008291, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00126/0.002089, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001115/0.001115, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001613/0.002728, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.039/1.039, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07909/1.118, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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.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.1.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.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.445e-05, allocations: 5.688 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004395/0.00442, allocations: 2.932 MB / 247.7 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.005867, allocations: 0.7241 MB / 248.4 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.006048, allocations: 11.94 kB / 248.4 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.006212, allocations: 59.38 kB / 248.5 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.006421, allocations: 91.12 kB / 248.5 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.006654, allocations: 95.75 kB / 248.6 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004143/0.007068, allocations: 398.7 kB / 249 MB, free: 9.875 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.007325, allocations: 111.5 kB / 249.1 MB, free: 9.766 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004181/0.007743, allocations: 251.5 kB / 249.4 MB, free: 9.52 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.007921, allocations: 111.7 kB / 249.5 MB, free: 9.41 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.398e-05/0.007975, allocations: 36 kB / 249.5 MB, free: 9.375 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.537e-05/0.00803, allocations: 32 kB / 249.6 MB, free: 9.344 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.314e-05/0.008094, allocations: 59.75 kB / 249.6 MB, free: 9.285 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.008202, allocations: 99.81 kB / 249.7 MB, free: 9.188 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.008688, allocations: 235.1 kB / 249.9 MB, free: 8.957 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.364e-05/0.008702, allocations: 0 / 249.9 MB, free: 8.957 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.008703, allocations: 0 / 249.9 MB, free: 8.957 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.008714, allocations: 0 / 249.9 MB, free: 8.957 MB / 250.7 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.0008542/0.009568, allocations: 0.5934 MB / 250.5 MB, free: 8.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.009606, allocations: 8.031 kB / 250.5 MB, free: 8.332 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.712e-05/0.009694, allocations: 48.89 kB / 250.6 MB, free: 8.285 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.009968, allocations: 185.2 kB / 250.8 MB, free: 8.078 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.009991, allocations: 21.03 kB / 250.8 MB, free: 8.059 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.757e-05/0.01005, allocations: 32.38 kB / 250.8 MB, free: 8.027 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.01042, allocations: 262.7 kB / 251.1 MB, free: 7.75 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.01043, allocations: 192 / 251.1 MB, free: 7.75 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.01046, allocations: 20.38 kB / 251.1 MB, free: 7.73 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.01047, allocations: 7.938 kB / 251.1 MB, free: 7.723 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.01063, allocations: 76.55 kB / 251.2 MB, free: 7.648 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003446/0.01408, allocations: 0.7084 MB / 251.9 MB, free: 6.898 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.01429, allocations: 105.2 kB / 252 MB, free: 6.789 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.01442, allocations: 72.75 kB / 252.1 MB, free: 6.715 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.01445, allocations: 8.328 kB / 252.1 MB, free: 6.707 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.01448, allocations: 34.56 kB / 252.1 MB, free: 6.664 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 2.134e-06/0.01448, allocations: 0 / 252.1 MB, free: 6.664 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002648/0.01474, allocations: 121.5 kB / 252.2 MB, free: 6.539 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.01478, allocations: 59.41 kB / 252.3 MB, free: 6.469 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.01493, allocations: 190.8 kB / 252.5 MB, free: 6.27 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.01495, allocations: 29.7 kB / 252.5 MB, free: 6.234 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.528e-05/0.01505, allocations: 188.2 kB / 252.7 MB, free: 6.047 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.193e-05/0.01511, allocations: 79.34 kB / 252.8 MB, free: 5.969 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-05/0.01518, allocations: 49.97 kB / 252.8 MB, free: 5.914 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.01529, allocations: 330.8 kB / 253.1 MB, free: 5.582 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.949e-05/0.01533, allocations: 24.55 kB / 253.2 MB, free: 5.559 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.633e-05/0.01543, allocations: 103 kB / 253.3 MB, free: 5.426 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.0156, allocations: 157.1 kB / 253.4 MB, free: 5.238 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.01561, allocations: 0 / 253.4 MB, free: 5.238 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002312/0.01584, allocations: 161.5 kB / 253.6 MB, free: 5.074 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.01586, allocations: 11.98 kB / 253.6 MB, free: 5.062 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.01586, allocations: 4 kB / 253.6 MB, free: 5.059 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.01588, allocations: 4 kB / 253.6 MB, free: 5.055 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.01623, allocations: 88.64 kB / 253.7 MB, free: 4.969 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.01624, allocations: 4 kB / 253.7 MB, free: 4.965 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.01636, allocations: 31.83 kB / 253.7 MB, free: 4.934 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.01638, allocations: 4 kB / 253.7 MB, free: 4.93 MB / 250.7 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 9.692e-05/0.01647, allocations: 129.7 kB / 253.8 MB, free: 4.793 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.01652, allocations: 19.98 kB / 253.9 MB, free: 4.773 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.0167, allocations: 123.3 kB / 254 MB, free: 4.652 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.01671, allocations: 0 / 254 MB, free: 4.652 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.01671, allocations: 0 / 254 MB, free: 4.652 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.01671, allocations: 7.984 kB / 254 MB, free: 4.645 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/0.01717, allocations: 350.7 kB / 254.3 MB, free: 4.273 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01717, allocations: 3.938 kB / 254.3 MB, free: 4.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.01743, allocations: 74.3 kB / 254.4 MB, free: 4.199 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.563e-05/0.01745, allocations: 11.91 kB / 254.4 MB, free: 4.188 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.01746, allocations: 7.938 kB / 254.4 MB, free: 4.18 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.01748, allocations: 7.984 kB / 254.4 MB, free: 4.172 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.01748, allocations: 4 kB / 254.4 MB, free: 4.168 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01748, allocations: 0 / 254.4 MB, free: 4.168 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.01776, allocations: 260.4 kB / 254.7 MB, free: 3.891 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.01778, allocations: 8.062 kB / 254.7 MB, free: 3.883 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.01791, allocations: 23.98 kB / 254.7 MB, free: 3.859 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.01796, allocations: 11.92 kB / 254.7 MB, free: 3.848 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.01797, allocations: 8 kB / 254.7 MB, free: 3.84 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.152e-05/0.01803, allocations: 54.03 kB / 254.8 MB, free: 3.785 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01803, allocations: 0 / 254.8 MB, free: 3.785 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003159/0.01834, allocations: 75.84 kB / 254.9 MB, free: 3.711 MB / 250.7 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.0001221/0.01847, allocations: 88.3 kB / 255 MB, free: 3.613 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.01866, allocations: 117.2 kB / 255.1 MB, free: 3.496 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/0.01867, allocations: 4 kB / 255.1 MB, free: 3.492 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.76e-05/0.01876, allocations: 64.72 kB / 255.1 MB, free: 3.426 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.01915, allocations: 346.9 kB / 255.5 MB, free: 3.02 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/0.02254, allocations: 0.6418 MB / 256.1 MB, free: 2.34 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.422e-05/0.02261, allocations: 96.3 kB / 256.2 MB, free: 2.227 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.312e-05/0.02271, allocations: 17.95 kB / 256.2 MB, free: 2.211 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.02285, allocations: 87.36 kB / 256.3 MB, free: 2.125 MB / 250.7 MB Notification: Performance of SimCode: time 1.032e-06/0.02286, allocations: 0 / 256.3 MB, free: 2.125 MB / 250.7 MB Notification: Performance of Templates: time 0.005908/0.02876, allocations: 2.184 MB / 258.5 MB, free: 15.99 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5764019954949617]