Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit") translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 175.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007925/0.0007925, allocations: 89.25 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003073/0.0003076, allocations: 12 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2268, allocations: 47.57 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.001914/0.2287, allocations: 1.763 MB / 376.9 MB, free: 44.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007688/0.2295, allocations: 0.5427 MB / 377.4 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.076e-05/0.2296, allocations: 3.125 kB / 377.4 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.2297, allocations: 24.03 kB / 377.4 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.852e-05/0.2298, allocations: 45.73 kB / 377.5 MB, free: 43.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.23, allocations: 41.25 kB / 377.5 MB, free: 43.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.2302, allocations: 216.4 kB / 377.7 MB, free: 43.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.2304, allocations: 65.69 kB / 377.8 MB, free: 43.31 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.511e-05/0.2305, allocations: 70.33 kB / 377.8 MB, free: 43.28 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.2306, allocations: 91.02 kB / 377.9 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.2307, allocations: 10.81 kB / 377.9 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.247e-05/0.2307, allocations: 10.69 kB / 378 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.826e-05/0.2308, allocations: 30.06 kB / 378 MB, free: 43.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.214e-05/0.2309, allocations: 113.1 kB / 378.1 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.231, allocations: 167 kB / 378.3 MB, free: 42.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.231, allocations: 9.219 kB / 378.3 MB, free: 42.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.231, allocations: 0 / 378.3 MB, free: 42.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.231, allocations: 0 / 378.3 MB, free: 42.97 MB / 298.7 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.0005979/0.2316, allocations: 468.8 kB / 378.7 MB, free: 42.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.2317, allocations: 9.375 kB / 378.7 MB, free: 42.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.2317, allocations: 20.12 kB / 378.8 MB, free: 42.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.2319, allocations: 221.9 kB / 379 MB, free: 42.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.232, allocations: 11.59 kB / 379 MB, free: 42.28 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.232, allocations: 20.16 kB / 379 MB, free: 42.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.2323, allocations: 186.1 kB / 379.2 MB, free: 42.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.2324, allocations: 0 / 379.2 MB, free: 42.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.2324, allocations: 14.38 kB / 379.2 MB, free: 42.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.2324, allocations: 12.42 kB / 379.2 MB, free: 42.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003397/0.2328, allocations: 144.2 kB / 379.4 MB, free: 42.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.2339, allocations: 0.758 MB / 380.1 MB, free: 41.42 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.2343, allocations: 169.9 kB / 380.3 MB, free: 41.33 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.2345, allocations: 98.52 kB / 380.4 MB, free: 41.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.2345, allocations: 9.281 kB / 380.4 MB, free: 41.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.2346, allocations: 33.38 kB / 380.4 MB, free: 41.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.2346, allocations: 0 / 380.4 MB, free: 41.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004572/0.235, allocations: 198.1 kB / 380.6 MB, free: 41.13 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.2351, allocations: 56.75 kB / 380.7 MB, free: 41.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.2352, allocations: 155.7 kB / 380.8 MB, free: 40.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.2352, allocations: 26.89 kB / 380.8 MB, free: 40.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.2353, allocations: 132.4 kB / 381 MB, free: 40.78 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.2353, allocations: 49.8 kB / 381 MB, free: 40.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-06/0.2353, allocations: 4 kB / 381 MB, free: 40.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.574e-05/0.2354, allocations: 322.4 kB / 381.3 MB, free: 40.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.2355, allocations: 57.72 kB / 381.4 MB, free: 40.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.2357, allocations: 74.38 kB / 381.5 MB, free: 40.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.2359, allocations: 129.2 kB / 381.6 MB, free: 40.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2359, allocations: 0 / 381.6 MB, free: 40.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003151/0.2362, allocations: 185.4 kB / 381.8 MB, free: 40.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2363, allocations: 4.844 kB / 381.8 MB, free: 40.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2363, allocations: 5.125 kB / 381.8 MB, free: 40.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.2363, allocations: 13.19 kB / 381.8 MB, free: 40.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.2365, allocations: 49.09 kB / 381.8 MB, free: 40.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2365, allocations: 0 / 381.8 MB, free: 40.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.2366, allocations: 17.84 kB / 381.9 MB, free: 40.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.2367, allocations: 4.031 kB / 381.9 MB, free: 40.13 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.716e-05/0.2367, allocations: 125.3 kB / 382 MB, free: 40.01 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.2368, allocations: 13.84 kB / 382 MB, free: 40 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.2368, allocations: 22.77 kB / 382 MB, free: 39.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.2368, allocations: 1.812 kB / 382 MB, free: 39.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2368, allocations: 0.9375 kB / 382 MB, free: 39.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.2369, allocations: 0 / 382 MB, free: 39.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.2371, allocations: 269.6 kB / 382.3 MB, free: 39.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2371, allocations: 4.969 kB / 382.3 MB, free: 39.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.2373, allocations: 41.84 kB / 382.3 MB, free: 39.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2373, allocations: 1.469 kB / 382.3 MB, free: 39.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.2373, allocations: 5.281 kB / 382.3 MB, free: 39.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2373, allocations: 4 kB / 382.3 MB, free: 39.69 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2374, allocations: 1.406 kB / 382.3 MB, free: 39.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004245/0.2378, allocations: 305.4 kB / 382.6 MB, free: 39.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.158e-05/0.2378, allocations: 95.89 kB / 382.7 MB, free: 39.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.2379, allocations: 5.625 kB / 382.7 MB, free: 39.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.238, allocations: 19.08 kB / 382.8 MB, free: 39.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.2381, allocations: 7.844 kB / 382.8 MB, free: 39.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.2381, allocations: 2.531 kB / 382.8 MB, free: 39.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.482e-05/0.2381, allocations: 116 kB / 382.9 MB, free: 39.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2381, allocations: 4 kB / 382.9 MB, free: 39.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002697/0.2384, allocations: 47.78 kB / 382.9 MB, free: 39.25 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001055/0.2385, allocations: 99.47 kB / 383 MB, free: 39.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002892/0.2388, allocations: 134.8 kB / 383.2 MB, free: 39.1 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2388, allocations: 4.062 kB / 383.2 MB, free: 39.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.239, allocations: 63.34 kB / 383.2 MB, free: 39.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.2393, allocations: 29.53 kB / 383.3 MB, free: 39.05 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009127/0.2403, allocations: 0.6684 MB / 383.9 MB, free: 38.51 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.2405, allocations: 0.7211 MB / 384.7 MB, free: 37.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.162e-05/0.2405, allocations: 15.5 kB / 384.7 MB, free: 37.79 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2405, allocations: 1 kB / 384.7 MB, free: 37.79 MB / 298.7 MB Notification: Performance of Templates: time 0.003353/0.2439, allocations: 1.995 MB / 386.7 MB, free: 36.75 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,C1.v,C2.v,L.i Variables in the result:C1.v,C2.v,L.i,time