Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.001312/0.001312, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.001425/0.001425, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.429/1.429, allocations: 230.6 MB / 258.3 MB, free: 7.73 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.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.1.0_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_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 51.94 kB / 379 MB, free: 2.395 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2146, allocations: 53.36 MB / 432.4 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006605/0.2212, allocations: 4.776 MB / 437.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.2237, allocations: 1.477 MB / 438.6 MB, free: 400 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003148/0.224, allocations: 35.69 kB / 438.7 MB, free: 364 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000425/0.2244, allocations: 225.8 kB / 438.9 MB, free: 136 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004929/0.2249, allocations: 194.1 kB / 439.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007292/0.2256, allocations: 419.3 kB / 439.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001171/0.2268, allocations: 1.122 MB / 440.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005467/0.2273, allocations: 340.5 kB / 440.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004965/0.2278, allocations: 414.3 kB / 441.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004676/0.2283, allocations: 437.5 kB / 441.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.2284, allocations: 84 kB / 441.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.2286, allocations: 104 kB / 441.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.2288, allocations: 211.1 kB / 442.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003737/0.2292, allocations: 413.7 kB / 442.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.2304, allocations: 1.193 MB / 443.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.2304, allocations: 0 / 443.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2304, allocations: 3.938 kB / 443.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.2304, allocations: 0 / 443.8 MB, free: 11.22 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.001954/0.2324, allocations: 1.267 MB / 445 MB, free: 9.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.2324, allocations: 12.03 kB / 445 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003725/0.2328, allocations: 151.1 kB / 445.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.2339, allocations: 0.5782 MB / 445.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.5e-05/0.2339, allocations: 77.94 kB / 445.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.2341, allocations: 96 kB / 445.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.2359, allocations: 1.082 MB / 447 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.752e-05/0.2359, allocations: 11.89 kB / 447 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.488e-05/0.236, allocations: 44 kB / 447.1 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/0.236, allocations: 27.94 kB / 447.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.2372, allocations: 0.5578 MB / 447.6 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004964/0.2422, allocations: 5.113 MB / 452.8 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005916/0.2428, allocations: 232.8 kB / 453 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.2431, allocations: 145.6 kB / 453.1 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.745e-05/0.2432, allocations: 16 kB / 453.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.2432, allocations: 42.44 kB / 453.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.653e-06/0.2432, allocations: 0 / 453.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003949/0.2472, allocations: 1.584 MB / 454.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.2472, allocations: 81.11 kB / 454.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007493/0.248, allocations: 0.6527 MB / 455.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.248, allocations: 33.7 kB / 455.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004505/0.2485, allocations: 0.6201 MB / 456.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.2486, allocations: 150.8 kB / 456.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.2488, allocations: 134.6 kB / 456.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.249, allocations: 390.7 kB / 456.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003317/0.2493, allocations: 157.8 kB / 457 MB, free: 13.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005915/0.2499, allocations: 0.4891 MB / 457.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009753/0.2509, allocations: 0.6908 MB / 458.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.2509, allocations: 8 kB / 458.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001222/0.2521, allocations: 0.7155 MB / 458.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.2521, allocations: 12 kB / 458.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.2521, allocations: 12 kB / 458.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/0.2522, allocations: 16 kB / 458.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006825/0.2529, allocations: 200.2 kB / 459.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-05/0.2529, allocations: 23.92 kB / 459.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.2532, allocations: 43.91 kB / 459.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/0.2533, allocations: 39.94 kB / 459.2 MB, free: 10.79 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.0002868/0.2536, allocations: 229.5 kB / 459.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.2537, allocations: 79.48 kB / 459.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.2538, allocations: 74.62 kB / 459.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2538, allocations: 3.984 kB / 459.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2538, allocations: 4 kB / 459.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.254, allocations: 75.42 kB / 459.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.215e-05/0.254, allocations: 8 kB / 459.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/0.2543, allocations: 27.92 kB / 459.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.491e-05/0.2544, allocations: 23.94 kB / 459.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001024/0.2554, allocations: 0.5184 MB / 460.2 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0011/0.2565, allocations: 0.7741 MB / 461 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002759/0.2568, allocations: 131.9 kB / 461.1 MB, free: 8.824 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005047/0.2573, allocations: 423 kB / 461.6 MB, free: 8.418 MB / 366.1 MB Notification: Performance of Backend: time 3.2e-07/0.2573, allocations: 4 kB / 461.6 MB, free: 8.414 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.2584, allocations: 403.1 kB / 462 MB, free: 8.023 MB / 366.1 MB Notification: Performance of SimCode: time 0.002802/0.2612, allocations: 2.099 MB / 464.1 MB, free: 5.859 MB / 366.1 MB Notification: Performance of Templates: time 0.01424/0.2754, allocations: 6.832 MB / 470.9 MB, free: 15.12 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.397752552999009]