Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.001881/0.001881, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.002276/0.002276, allocations: 210.8 kB / 24.49 MB, free: 3.965 MB / 14.72 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.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 7.828 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+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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance") translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 47.92 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.219, allocations: 53.37 MB / 432.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004201/0.2232, allocations: 2.714 MB / 435.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.2243, allocations: 0.6777 MB / 435.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.2245, allocations: 7.938 kB / 435.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.2247, allocations: 63.42 kB / 435.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.2248, allocations: 83.2 kB / 435.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.2251, allocations: 95.81 kB / 436 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004186/0.2255, allocations: 374.5 kB / 436.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.2257, allocations: 105.8 kB / 436.5 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.226, allocations: 163.4 kB / 436.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.2262, allocations: 151.3 kB / 436.8 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.019e-05/0.2263, allocations: 32 kB / 436.8 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.49e-05/0.2263, allocations: 32 kB / 436.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.973e-05/0.2264, allocations: 75.7 kB / 436.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.2266, allocations: 143.4 kB / 437 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004302/0.227, allocations: 378.2 kB / 437.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.227, allocations: 3.938 kB / 437.4 MB, free: 1.676 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.227, allocations: 0 / 437.4 MB, free: 1.676 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.227, allocations: 0 / 437.4 MB, free: 1.676 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.0009643/0.228, allocations: 0.5404 MB / 438 MB, free: 1.105 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.228, allocations: 12.03 kB / 438 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.158e-05/0.2281, allocations: 40.7 kB / 438 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.2284, allocations: 210.7 kB / 438.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/0.2284, allocations: 25.03 kB / 438.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.2285, allocations: 32.38 kB / 438.3 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006079/0.2291, allocations: 329.7 kB / 438.6 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.2291, allocations: 0 / 438.6 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.2292, allocations: 15.94 kB / 438.6 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.2292, allocations: 8 kB / 438.6 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004751/0.2296, allocations: 202.5 kB / 438.8 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.2311, allocations: 0.8127 MB / 439.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003375/0.2315, allocations: 154.6 kB / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.2316, allocations: 72.81 kB / 439.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.2317, allocations: 7.938 kB / 439.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.2317, allocations: 30.56 kB / 439.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.522e-06/0.2317, allocations: 0 / 439.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.000572/0.2323, allocations: 213.7 kB / 440.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.2323, allocations: 51.41 kB / 440.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.2325, allocations: 192.2 kB / 440.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.2325, allocations: 29.7 kB / 440.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.2327, allocations: 200.2 kB / 440.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.871e-05/0.2327, allocations: 71.41 kB / 440.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.919e-05/0.2328, allocations: 45.7 kB / 440.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.233, allocations: 330.8 kB / 441 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.2332, allocations: 67.97 kB / 441.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.2334, allocations: 110 kB / 441.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.2337, allocations: 189.8 kB / 441.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.2337, allocations: 4 kB / 441.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004917/0.2342, allocations: 245.2 kB / 441.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2342, allocations: 4 kB / 441.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.2343, allocations: 4 kB / 441.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.2343, allocations: 4 kB / 441.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.2346, allocations: 67.89 kB / 441.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2346, allocations: 0 / 441.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.2347, allocations: 23.89 kB / 441.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.2348, allocations: 16.11 kB / 441.7 MB, free: 13.12 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (29): * Single equations (assignments): 29 * 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.0001434/0.2349, allocations: 141.7 kB / 441.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.2349, allocations: 19.84 kB / 441.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000437/0.2354, allocations: 193.4 kB / 442.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2354, allocations: 0 / 442.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2354, allocations: 3.938 kB / 442.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.2354, allocations: 19.8 kB / 442.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.2355, allocations: 8 kB / 442.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.2356, allocations: 19.98 kB / 442.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.2357, allocations: 11.97 kB / 442.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006969/0.2364, allocations: 280.7 kB / 442.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006695/0.2371, allocations: 441.7 kB / 442.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001728/0.2372, allocations: 64.02 kB / 442.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.2373, allocations: 143.4 kB / 443 MB, free: 11.77 MB / 350.1 MB Notification: Performance of Backend: time 1.7e-07/0.2373, allocations: 0 / 443 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005456/0.2379, allocations: 185 kB / 443.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of SimCode: time 0.001484/0.2394, allocations: 1.256 MB / 444.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of Templates: time 0.006433/0.2458, allocations: 2.752 MB / 447.2 MB, free: 7.566 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.262900755995361]