Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.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.001783/0.001783, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002049/0.002049, allocations: 209.2 kB / 24.47 MB, free: 3.977 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.544/1.544, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 55.86 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2569, allocations: 53.36 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003312/0.2602, allocations: 2.035 MB / 434.4 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009893/0.2612, allocations: 0.5609 MB / 434.9 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.74e-05/0.2613, allocations: 4 kB / 434.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.2614, allocations: 23.72 kB / 435 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.2616, allocations: 59.48 kB / 435 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.2617, allocations: 55.86 kB / 435.1 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000272/0.262, allocations: 231 kB / 435.3 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.2622, allocations: 68.72 kB / 435.4 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.2623, allocations: 79.78 kB / 435.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.2624, allocations: 95.61 kB / 435.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.2625, allocations: 20 kB / 435.5 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.289e-05/0.2625, allocations: 28 kB / 435.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.781e-05/0.2626, allocations: 47.83 kB / 435.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.2627, allocations: 91.58 kB / 435.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.2629, allocations: 234.8 kB / 435.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2629, allocations: 0 / 435.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2629, allocations: 0 / 435.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2629, allocations: 0 / 435.9 MB, free: 3.121 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008024/0.2637, allocations: 425.5 kB / 436.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.2638, allocations: 12.03 kB / 436.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.501e-05/0.2638, allocations: 24.8 kB / 436.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.2641, allocations: 170.2 kB / 436.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.2641, allocations: 16.36 kB / 436.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.2642, allocations: 20.38 kB / 436.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004258/0.2646, allocations: 229.3 kB / 436.8 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2646, allocations: 4 kB / 436.8 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.2646, allocations: 8 kB / 436.8 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.2647, allocations: 8 kB / 436.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003234/0.265, allocations: 143.8 kB / 437 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.2662, allocations: 0.6257 MB / 437.6 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.2666, allocations: 142.6 kB / 437.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.2667, allocations: 88.83 kB / 437.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.2668, allocations: 4 kB / 437.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.2668, allocations: 30.56 kB / 437.9 MB, free: 1.055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 3.486e-06/0.2668, allocations: 4 kB / 437.9 MB, free: 1.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004893/0.2673, allocations: 189.8 kB / 438.1 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.2673, allocations: 51.41 kB / 438.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.2675, allocations: 156.4 kB / 438.3 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.2675, allocations: 25.7 kB / 438.3 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.965e-05/0.2676, allocations: 140.2 kB / 438.4 MB, free: 472 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/0.2676, allocations: 51.59 kB / 438.5 MB, free: 420 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.168e-05/0.2677, allocations: 33.7 kB / 438.5 MB, free: 380 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.2679, allocations: 322.8 kB / 438.8 MB, free: 48 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.268, allocations: 56.02 kB / 438.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.2682, allocations: 65.64 kB / 438.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.2684, allocations: 125.6 kB / 439.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2684, allocations: 0 / 439.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003505/0.2688, allocations: 179.7 kB / 439.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2688, allocations: 8.031 kB / 439.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.2688, allocations: 0 / 439.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.2688, allocations: 4 kB / 439.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.269, allocations: 47.97 kB / 439.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.269, allocations: 3.984 kB / 439.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.2691, allocations: 15.88 kB / 439.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.2692, allocations: 8 kB / 439.3 MB, free: 15.53 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 19 * 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.0001186/0.2693, allocations: 125.7 kB / 439.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.2693, allocations: 15.91 kB / 439.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.36e-05/0.2694, allocations: 24.77 kB / 439.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2694, allocations: 0 / 439.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2694, allocations: 0 / 439.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2694, allocations: 7.875 kB / 439.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.2696, allocations: 177.3 kB / 439.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2696, allocations: 0 / 439.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.2699, allocations: 39.97 kB / 439.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2699, allocations: 0 / 439.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.2699, allocations: 0 / 439.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2699, allocations: 0 / 439.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2699, allocations: 0 / 439.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005026/0.2704, allocations: 319.2 kB / 440 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.379e-05/0.2704, allocations: 7.953 kB / 440 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.2704, allocations: 0 / 440 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.2706, allocations: 16.03 kB / 440 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.2706, allocations: 11.98 kB / 440 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.2706, allocations: 0 / 440 MB, free: 14.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.182e-05/0.2707, allocations: 126.2 kB / 440.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2707, allocations: 4 kB / 440.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002918/0.271, allocations: 47.89 kB / 440.2 MB, free: 14.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,C1.v,C2.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 (13): * Single equations (assignments): 13 * 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.0001137/0.2711, allocations: 103.3 kB / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003067/0.2714, allocations: 111.9 kB / 440.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2714, allocations: 3.938 kB / 440.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.2716, allocations: 59.05 kB / 440.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.2719, allocations: 28.05 kB / 440.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.2729, allocations: 0.5224 MB / 441 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.273, allocations: 107.9 kB / 441.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.26e-05/0.2731, allocations: 13.08 kB / 441.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.51e-05/0.2732, allocations: 11.44 kB / 441.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2732, allocations: 0 / 441.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of Templates: time 0.004851/0.278, allocations: 1.791 MB / 443 MB, free: 11.81 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Warning: Resultfile and Reference have different end time points! Reffile[6013]=3000.000000 File[50214]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7084307379991515]