Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001493/0.001493, allocations: 112.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001633/0.001633, allocations: 211 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.418/1.418, allocations: 230.4 MB / 258.1 MB, free: 8.152 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 75.81 kB / 378.8 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2141, allocations: 53.31 MB / 432.1 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006723/0.2208, allocations: 5.436 MB / 437.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.2234, allocations: 1.527 MB / 439 MB, free: 384 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003124/0.2237, allocations: 23.88 kB / 439.1 MB, free: 360 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004325/0.2241, allocations: 217.8 kB / 439.3 MB, free: 140 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000472/0.2246, allocations: 206.1 kB / 439.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007445/0.2254, allocations: 415.2 kB / 439.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001258/0.2266, allocations: 1.13 MB / 441 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005973/0.2272, allocations: 328.3 kB / 441.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005313/0.2278, allocations: 418.2 kB / 441.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004771/0.2282, allocations: 425.6 kB / 442.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.2283, allocations: 87.94 kB / 442.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.2285, allocations: 112 kB / 442.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.2287, allocations: 207.1 kB / 442.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004127/0.2291, allocations: 0.4971 MB / 443.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.2303, allocations: 1.192 MB / 444.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2303, allocations: 0 / 444.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2303, allocations: 0 / 444.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.2303, allocations: 0 / 444.3 MB, free: 11.12 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001915/0.2322, allocations: 1.343 MB / 445.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2323, allocations: 15.97 kB / 445.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003576/0.2326, allocations: 155.1 kB / 445.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.2337, allocations: 0.6621 MB / 446.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.567e-05/0.2337, allocations: 77.94 kB / 446.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.2339, allocations: 96 kB / 446.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.2355, allocations: 1.035 MB / 447.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.2356, allocations: 4 kB / 447.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.679e-05/0.2357, allocations: 48 kB / 447.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/0.2357, allocations: 24 kB / 447.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.2368, allocations: 0.5539 MB / 448.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005112/0.2419, allocations: 5.502 MB / 453.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005719/0.2425, allocations: 225 kB / 454 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003148/0.2428, allocations: 152 kB / 454.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.2429, allocations: 85.09 kB / 454.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.243, allocations: 42.5 kB / 454.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.513e-06/0.243, allocations: 0 / 454.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003931/0.2469, allocations: 1.741 MB / 456 MB, free: 14.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.247, allocations: 81.11 kB / 456.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008037/0.2478, allocations: 0.649 MB / 456.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.2478, allocations: 29.7 kB / 456.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004466/0.2483, allocations: 0.6123 MB / 457.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.2484, allocations: 158.7 kB / 457.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.2486, allocations: 138.5 kB / 457.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.2488, allocations: 390.8 kB / 458 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.2491, allocations: 149.9 kB / 458.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005814/0.2497, allocations: 0.497 MB / 458.7 MB, free: 11.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009831/0.2506, allocations: 0.6888 MB / 459.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.2506, allocations: 4 kB / 459.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001194/0.2518, allocations: 0.7225 MB / 460.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.2519, allocations: 8 kB / 460.1 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.2519, allocations: 12 kB / 460.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-05/0.2519, allocations: 16 kB / 460.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000655/0.2526, allocations: 204 kB / 460.3 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.203e-05/0.2526, allocations: 31.86 kB / 460.4 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/0.2529, allocations: 28 kB / 460.4 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/0.253, allocations: 39.98 kB / 460.4 MB, free: 9.914 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * 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.0002926/0.2533, allocations: 225.5 kB / 460.6 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.2534, allocations: 79.48 kB / 460.7 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.2535, allocations: 74.59 kB / 460.8 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.2535, allocations: 11.92 kB / 460.8 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.2535, allocations: 0 / 460.8 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.2537, allocations: 148.5 kB / 461 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.616e-05/0.2538, allocations: 8 kB / 461 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002983/0.2541, allocations: 23.98 kB / 461 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.423e-05/0.2541, allocations: 31.86 kB / 461 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001042/0.2552, allocations: 0.5227 MB / 461.5 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001109/0.2563, allocations: 0.7706 MB / 462.3 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002709/0.2566, allocations: 134.6 kB / 462.4 MB, free: 7.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004964/0.257, allocations: 423 kB / 462.9 MB, free: 7.434 MB / 366.1 MB Notification: Performance of Backend: time 3.8e-07/0.257, allocations: 0 / 462.9 MB, free: 7.434 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.2581, allocations: 396.1 kB / 463.2 MB, free: 7.043 MB / 366.1 MB Notification: Performance of SimCode: time 0.002727/0.2608, allocations: 2.117 MB / 465.4 MB, free: 4.867 MB / 366.1 MB Notification: Performance of Templates: time 0.01317/0.274, allocations: 6.021 MB / 471.4 MB, free: 14.86 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.377725244965404]