Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002097/0.002097, allocations: 185 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 51.92 kB / 371.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2372, allocations: 52.16 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003512/0.2407, allocations: 2.038 MB / 425.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009631/0.2416, allocations: 0.5143 MB / 426.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.967e-05/0.2417, allocations: 7.938 kB / 426.4 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.2419, allocations: 27.72 kB / 426.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.242, allocations: 51.48 kB / 426.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.2422, allocations: 63.86 kB / 426.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.2425, allocations: 227 kB / 426.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.2426, allocations: 65.36 kB / 426.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.2427, allocations: 91.72 kB / 426.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.2429, allocations: 83.61 kB / 427 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.2429, allocations: 20 kB / 427 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.284e-05/0.243, allocations: 20 kB / 427 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.243, allocations: 47.83 kB / 427.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.584e-05/0.2431, allocations: 91.64 kB / 427.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.2434, allocations: 230.1 kB / 427.4 MB, free: 10.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2434, allocations: 0 / 427.4 MB, free: 10.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2434, allocations: 4 kB / 427.4 MB, free: 10.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.2434, allocations: 0 / 427.4 MB, free: 10.9 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.0007804/0.2442, allocations: 421.5 kB / 427.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.2442, allocations: 8.031 kB / 427.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.695e-05/0.2443, allocations: 24.8 kB / 427.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.2445, allocations: 166.2 kB / 428 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.2446, allocations: 8.375 kB / 428 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.2446, allocations: 16.38 kB / 428 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004222/0.245, allocations: 249.2 kB / 428.2 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.245, allocations: 0 / 428.2 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.2451, allocations: 4 kB / 428.3 MB, free: 9.949 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.2451, allocations: 8 kB / 428.3 MB, free: 9.941 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.2454, allocations: 135.9 kB / 428.4 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.2466, allocations: 0.6295 MB / 429 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.247, allocations: 158.4 kB / 429.2 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.2472, allocations: 88.83 kB / 429.3 MB, free: 8.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.2472, allocations: 0 / 429.3 MB, free: 8.875 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.2472, allocations: 38.56 kB / 429.3 MB, free: 8.828 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.002e-06/0.2472, allocations: 4 kB / 429.3 MB, free: 8.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004637/0.2477, allocations: 175.8 kB / 429.5 MB, free: 8.648 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.2477, allocations: 51.41 kB / 429.5 MB, free: 8.586 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.2479, allocations: 152.7 kB / 429.7 MB, free: 8.426 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.2479, allocations: 33.7 kB / 429.7 MB, free: 8.387 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.248, allocations: 136.2 kB / 429.8 MB, free: 8.246 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.248, allocations: 51.58 kB / 429.9 MB, free: 8.195 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.43e-05/0.2481, allocations: 41.66 kB / 429.9 MB, free: 8.148 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.2483, allocations: 322.8 kB / 430.2 MB, free: 7.824 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.2484, allocations: 51.97 kB / 430.3 MB, free: 7.773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.2485, allocations: 73.64 kB / 430.4 MB, free: 7.695 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.2488, allocations: 117.6 kB / 430.5 MB, free: 7.574 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2488, allocations: 0 / 430.5 MB, free: 7.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003383/0.2491, allocations: 184.6 kB / 430.7 MB, free: 7.391 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2491, allocations: 8 kB / 430.7 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2491, allocations: 0 / 430.7 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.2492, allocations: 0 / 430.7 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.2494, allocations: 43.91 kB / 430.7 MB, free: 7.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2494, allocations: 4 kB / 430.7 MB, free: 7.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.2495, allocations: 23.81 kB / 430.7 MB, free: 7.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.2495, allocations: 4 kB / 430.7 MB, free: 7.309 MB / 334.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.0001241/0.2496, allocations: 129.9 kB / 430.9 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.2497, allocations: 11.94 kB / 430.9 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.2497, allocations: 16.78 kB / 430.9 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2497, allocations: 0 / 430.9 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2497, allocations: 4 kB / 430.9 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2497, allocations: 3.938 kB / 430.9 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.25, allocations: 185.4 kB / 431.1 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.25, allocations: 0 / 431.1 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.2502, allocations: 39.92 kB / 431.1 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2502, allocations: 0 / 431.1 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.2502, allocations: 8 kB / 431.1 MB, free: 6.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.2502, allocations: 3.984 kB / 431.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2502, allocations: 0 / 431.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004865/0.2507, allocations: 303.3 kB / 431.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.185e-05/0.2507, allocations: 7.953 kB / 431.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.2507, allocations: 4 kB / 431.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.2509, allocations: 12.03 kB / 431.5 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.2509, allocations: 15.98 kB / 431.5 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.2509, allocations: 4 kB / 431.5 MB, free: 6.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.738e-05/0.251, allocations: 118.6 kB / 431.6 MB, free: 6.406 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.251, allocations: 7.938 kB / 431.6 MB, free: 6.398 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.2513, allocations: 43.89 kB / 431.6 MB, free: 6.355 MB / 334.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.0001125/0.2514, allocations: 95.25 kB / 431.7 MB, free: 6.254 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003103/0.2517, allocations: 119.9 kB / 431.9 MB, free: 6.137 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2517, allocations: 4.062 kB / 431.9 MB, free: 6.133 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.2519, allocations: 63.91 kB / 431.9 MB, free: 6.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.2522, allocations: 20 kB / 431.9 MB, free: 6.051 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.2532, allocations: 0.5435 MB / 432.5 MB, free: 5.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.2533, allocations: 115.8 kB / 432.6 MB, free: 5.344 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/0.2533, allocations: 15.44 kB / 432.6 MB, free: 5.328 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2533, allocations: 3.938 kB / 432.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of Templates: time 0.003943/0.2573, allocations: 2.042 MB / 434.7 MB, free: 3.285 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] "" Variables in the reference:time,C1.v,C2.v,L.i Variables in the result:C1.v,C2.v,L.i,time [Calling sys.exit(0), Time elapsed: 7.8697313400916755]