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.00129/0.00129, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.006902/0.006902, allocations: 160.8 kB / 24.69 MB, free: 9.426 MB / 18.57 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 0.879/0.879, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.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 2.054e-06/2.054e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.766e-05, allocations: 2.281 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.00285/0.002877, allocations: 2.718 MB / 328.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.004122, allocations: 0.6933 MB / 329.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.004261, allocations: 7.938 kB / 329.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.004422, allocations: 59.44 kB / 329.3 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.004559, allocations: 87.08 kB / 329.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.0048, allocations: 95.8 kB / 329.5 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002896/0.00509, allocations: 398.7 kB / 329.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.005299, allocations: 116.8 kB / 330 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003447/0.005644, allocations: 227.5 kB / 330.2 MB, free: 11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.005756, allocations: 115.6 kB / 330.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.00579, allocations: 32 kB / 330.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.876e-05/0.005818, allocations: 32 kB / 330.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.546e-05/0.005864, allocations: 75.72 kB / 330.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.37e-05/0.005937, allocations: 115.8 kB / 330.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.006235, allocations: 398.6 kB / 331 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.006238, allocations: 0 / 331 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.006239, allocations: 4 kB / 331 MB, free: 10.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.006246, allocations: 0 / 331 MB, free: 10.24 MB / 298.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.0006746/0.006921, allocations: 0.5471 MB / 331.5 MB, free: 9.668 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.006957, allocations: 12.03 kB / 331.5 MB, free: 9.656 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.77e-05/0.007014, allocations: 44.7 kB / 331.6 MB, free: 9.613 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.007289, allocations: 197.3 kB / 331.8 MB, free: 9.395 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.007311, allocations: 29.03 kB / 331.8 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.007348, allocations: 28.38 kB / 331.8 MB, free: 9.336 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/0.007726, allocations: 330 kB / 332.2 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.007738, allocations: 192 / 332.2 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.007762, allocations: 20.36 kB / 332.2 MB, free: 8.977 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.00777, allocations: 11.94 kB / 332.2 MB, free: 8.965 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.008037, allocations: 214.5 kB / 332.4 MB, free: 8.758 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.00925, allocations: 0.8525 MB / 333.3 MB, free: 7.848 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.009476, allocations: 154.5 kB / 333.4 MB, free: 7.688 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.009646, allocations: 120.8 kB / 333.5 MB, free: 7.566 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.009662, allocations: 4 kB / 333.5 MB, free: 7.562 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.009685, allocations: 34.56 kB / 333.6 MB, free: 7.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.009686, allocations: 0 / 333.6 MB, free: 7.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003542/0.01004, allocations: 225.7 kB / 333.8 MB, free: 7.293 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.01007, allocations: 59.39 kB / 333.8 MB, free: 7.223 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.0102, allocations: 198.5 kB / 334 MB, free: 7.016 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.01022, allocations: 29.7 kB / 334.1 MB, free: 6.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.78e-05/0.01031, allocations: 200.2 kB / 334.3 MB, free: 6.777 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.01034, allocations: 67.39 kB / 334.3 MB, free: 6.711 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.0104, allocations: 53.98 kB / 334.4 MB, free: 6.652 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.951e-05/0.01048, allocations: 330.8 kB / 334.7 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.611e-05/0.01058, allocations: 72.52 kB / 334.8 MB, free: 6.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.0107, allocations: 147 kB / 334.9 MB, free: 6.074 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.01092, allocations: 229.2 kB / 335.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01093, allocations: 0 / 335.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002865/0.01121, allocations: 269.2 kB / 335.4 MB, free: 5.547 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.01123, allocations: 8 kB / 335.4 MB, free: 5.539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.01123, allocations: 4.25 kB / 335.4 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.01125, allocations: 7.938 kB / 335.4 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.01142, allocations: 71.89 kB / 335.5 MB, free: 5.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.01143, allocations: 7.938 kB / 335.5 MB, free: 5.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.825e-05/0.01151, allocations: 27.84 kB / 335.5 MB, free: 5.422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.01152, allocations: 12 kB / 335.5 MB, free: 5.41 MB / 298.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.865e-05/0.01162, allocations: 145.7 kB / 335.7 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.01165, allocations: 19.91 kB / 335.7 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.0119, allocations: 199.3 kB / 335.9 MB, free: 5.035 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.0119, allocations: 0 / 335.9 MB, free: 5.035 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.01191, allocations: 7.938 kB / 335.9 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01191, allocations: 0 / 335.9 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000483/0.01239, allocations: 0.5024 MB / 336.4 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.0124, allocations: 3.938 kB / 336.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.01255, allocations: 60.02 kB / 336.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.01255, allocations: 7.875 kB / 336.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.01257, allocations: 8 kB / 336.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.01257, allocations: 0 / 336.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01257, allocations: 0 / 336.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.01293, allocations: 372.3 kB / 336.8 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/0.01296, allocations: 27.89 kB / 336.9 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.01298, allocations: 7.875 kB / 336.9 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.12e-05/0.01306, allocations: 23.98 kB / 336.9 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.0131, allocations: 20 kB / 336.9 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.01311, allocations: 4 kB / 336.9 MB, free: 3.938 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.889e-05/0.01319, allocations: 148.2 kB / 337.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01319, allocations: 0 / 337.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002408/0.01343, allocations: 71.84 kB / 337.1 MB, free: 3.723 MB / 298.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.0001067/0.01354, allocations: 107.1 kB / 337.2 MB, free: 3.609 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002641/0.0138, allocations: 172.2 kB / 337.4 MB, free: 3.441 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.0138, allocations: 0 / 337.4 MB, free: 3.441 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.093e-05/0.0139, allocations: 79.84 kB / 337.5 MB, free: 3.363 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.01413, allocations: 36.19 kB / 337.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008641/0.015, allocations: 0.7128 MB / 338.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.0151, allocations: 159.1 kB / 338.4 MB, free: 2.402 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.362e-05/0.01516, allocations: 28.48 kB / 338.4 MB, free: 2.375 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01516, allocations: 4 kB / 338.4 MB, free: 2.371 MB / 298.7 MB Notification: Performance of Templates: time 0.003862/0.01902, allocations: 3.027 MB / 341.5 MB, free: 15.34 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.151449050754309]