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.001838/0.001838, 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.002176/0.002176, 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.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.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 0.001525/0.001525, allocations: 47.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2088, allocations: 53.38 MB / 432.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004094/0.2129, allocations: 2.699 MB / 435.1 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.2141, allocations: 0.6816 MB / 435.7 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.2142, allocations: 7.938 kB / 435.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.2144, allocations: 67.42 kB / 435.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001906/0.2146, allocations: 83.2 kB / 435.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.2149, allocations: 95.81 kB / 436 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004234/0.2153, allocations: 378.9 kB / 436.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002808/0.2156, allocations: 124.8 kB / 436.5 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002795/0.2159, allocations: 155.4 kB / 436.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.2161, allocations: 159.3 kB / 436.8 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.06e-05/0.2161, allocations: 32 kB / 436.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.961e-05/0.2162, allocations: 36 kB / 436.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.954e-05/0.2162, allocations: 79.69 kB / 436.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.2164, allocations: 135.4 kB / 437.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004267/0.2168, allocations: 394.1 kB / 437.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2168, allocations: 0 / 437.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2168, allocations: 0 / 437.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.2168, allocations: 0 / 437.4 MB, free: 1.594 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.0009682/0.2178, allocations: 0.5482 MB / 438 MB, free: 1.016 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2178, allocations: 15.97 kB / 438 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.544e-05/0.2179, allocations: 36.7 kB / 438 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.2183, allocations: 218.7 kB / 438.3 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/0.2183, allocations: 21.03 kB / 438.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.437e-05/0.2184, allocations: 32.38 kB / 438.3 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006183/0.219, allocations: 337.8 kB / 438.6 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.219, allocations: 0 / 438.6 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.219, allocations: 15.94 kB / 438.7 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.219, allocations: 8 kB / 438.7 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004926/0.2195, allocations: 210.5 kB / 438.9 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.221, allocations: 0.8558 MB / 439.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.2214, allocations: 154.5 kB / 439.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002886/0.2217, allocations: 120.8 kB / 440 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.2217, allocations: 0 / 440 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.2217, allocations: 42.5 kB / 440 MB, free: 14.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.163e-06/0.2217, allocations: 0 / 440 MB, free: 14.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005961/0.2223, allocations: 232.4 kB / 440.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.2224, allocations: 55.41 kB / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.2226, allocations: 195.8 kB / 440.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.2226, allocations: 25.7 kB / 440.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.2227, allocations: 196.3 kB / 440.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.371e-05/0.2228, allocations: 79.36 kB / 440.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.28e-05/0.2229, allocations: 49.98 kB / 440.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.223, allocations: 334.8 kB / 441.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.2232, allocations: 64.47 kB / 441.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.2235, allocations: 155.3 kB / 441.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.2239, allocations: 221.2 kB / 441.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2239, allocations: 4 kB / 441.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005237/0.2244, allocations: 269.2 kB / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.2244, allocations: 11.94 kB / 441.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2244, allocations: 3.984 kB / 441.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.2244, allocations: 8 kB / 441.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.2247, allocations: 76.16 kB / 442 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.2248, allocations: 7.984 kB / 442 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.2249, allocations: 35.77 kB / 442 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.2249, allocations: 8 kB / 442 MB, free: 12.73 MB / 350.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.0001339/0.2251, allocations: 141.8 kB / 442.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.2251, allocations: 23.84 kB / 442.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004447/0.2256, allocations: 195.3 kB / 442.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2256, allocations: 11.92 kB / 442.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2256, allocations: 0 / 442.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.2256, allocations: 23.8 kB / 442.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.2257, allocations: 4 kB / 442.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.2258, allocations: 19.92 kB / 442.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.2259, allocations: 11.97 kB / 442.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007217/0.2266, allocations: 303.7 kB / 442.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006826/0.2273, allocations: 442.8 kB / 443.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001703/0.2275, allocations: 68.02 kB / 443.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.2276, allocations: 140.5 kB / 443.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of Backend: time 1.9e-07/0.2276, allocations: 4 kB / 443.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005676/0.2282, allocations: 186.2 kB / 443.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of SimCode: time 0.001519/0.2297, allocations: 1.264 MB / 444.8 MB, free: 9.832 MB / 350.1 MB Notification: Performance of Templates: time 0.00661/0.2363, allocations: 2.835 MB / 447.7 MB, free: 7.035 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/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.377442871002131]