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.001354/0.001354, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001571/0.001571, allocations: 209.8 kB / 23.73 MB, free: 4.387 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.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001627/0.001627, allocations: 59.84 kB / 378.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2629, allocations: 53.37 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003589/0.2665, allocations: 2.028 MB / 433.6 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.2675, allocations: 0.5571 MB / 434.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.2677, allocations: 4 kB / 434.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.2678, allocations: 31.66 kB / 434.2 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.2679, allocations: 51.55 kB / 434.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.2681, allocations: 63.86 kB / 434.3 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002979/0.2684, allocations: 231 kB / 434.5 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.2686, allocations: 49.78 kB / 434.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.2687, allocations: 91.7 kB / 434.7 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.2689, allocations: 83.55 kB / 434.8 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/0.2689, allocations: 24 kB / 434.8 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.477e-05/0.2689, allocations: 20 kB / 434.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.944e-05/0.269, allocations: 43.89 kB / 434.9 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.2691, allocations: 87.64 kB / 434.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.2694, allocations: 244.3 kB / 435.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2694, allocations: 0 / 435.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2694, allocations: 0 / 435.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.2694, allocations: 0 / 435.2 MB, free: 3.117 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.0007467/0.2702, allocations: 425.5 kB / 435.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.2702, allocations: 8.031 kB / 435.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.791e-05/0.2703, allocations: 24.8 kB / 435.6 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.2705, allocations: 174.2 kB / 435.8 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.2705, allocations: 12.38 kB / 435.8 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.2706, allocations: 20.38 kB / 435.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004232/0.271, allocations: 233.3 kB / 436.1 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.271, allocations: 0 / 436.1 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.271, allocations: 4 kB / 436.1 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.271, allocations: 4 kB / 436.1 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.2714, allocations: 151.8 kB / 436.2 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.2725, allocations: 0.6218 MB / 436.8 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.2729, allocations: 150.6 kB / 437 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.2731, allocations: 84.83 kB / 437.1 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.2731, allocations: 4 kB / 437.1 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.2732, allocations: 34.5 kB / 437.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.2732, allocations: 0 / 437.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004787/0.2737, allocations: 185.8 kB / 437.3 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.2737, allocations: 55.41 kB / 437.3 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.2739, allocations: 150 kB / 437.5 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.2739, allocations: 33.7 kB / 437.5 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.274, allocations: 140.2 kB / 437.7 MB, free: 468 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.274, allocations: 43.59 kB / 437.7 MB, free: 424 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.2741, allocations: 37.7 kB / 437.7 MB, free: 380 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2742, allocations: 322.8 kB / 438 MB, free: 48 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.2744, allocations: 47.97 kB / 438.1 MB, free: 0 / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.2745, allocations: 80.38 kB / 438.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/0.2747, allocations: 120.7 kB / 438.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2748, allocations: 4 kB / 438.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003478/0.2751, allocations: 177.4 kB / 438.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2751, allocations: 8 kB / 438.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2751, allocations: 0 / 438.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.2751, allocations: 0 / 438.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.2754, allocations: 44 kB / 438.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2754, allocations: 4 kB / 438.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.2755, allocations: 19.83 kB / 438.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.2755, allocations: 4 kB / 438.5 MB, free: 15.54 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.0001111/0.2756, allocations: 129.8 kB / 438.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.628e-05/0.2756, allocations: 11.91 kB / 438.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.2757, allocations: 20.77 kB / 438.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2757, allocations: 0 / 438.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2757, allocations: 0 / 438.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2757, allocations: 3.938 kB / 438.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.2759, allocations: 181.3 kB / 438.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2759, allocations: 0 / 438.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.2761, allocations: 39.97 kB / 438.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2761, allocations: 0 / 438.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.2761, allocations: 4 kB / 438.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2761, allocations: 3.938 kB / 438.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2761, allocations: 0 / 438.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004772/0.2766, allocations: 315.1 kB / 439.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.2766, allocations: 15.95 kB / 439.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.2767, allocations: 0 / 439.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.2768, allocations: 12.03 kB / 439.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.2769, allocations: 15.98 kB / 439.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-06/0.2769, allocations: 4 kB / 439.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.919e-05/0.277, allocations: 119.1 kB / 439.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.277, allocations: 0 / 439.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.2772, allocations: 47.89 kB / 439.4 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.0001118/0.2773, allocations: 103.2 kB / 439.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003045/0.2777, allocations: 122.9 kB / 439.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2777, allocations: 0 / 439.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.2778, allocations: 51.98 kB / 439.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.2781, allocations: 23.98 kB / 439.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009998/0.2791, allocations: 0.5187 MB / 440.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.2792, allocations: 107.9 kB / 440.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.308e-05/0.2792, allocations: 13.08 kB / 440.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.582e-05/0.2793, allocations: 19.38 kB / 440.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2793, allocations: 0 / 440.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of Templates: time 0.004995/0.2843, allocations: 1.741 MB / 442.1 MB, free: 11.87 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins/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[50210]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.677414743229747]