Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001544/0.001544, allocations: 116.2 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001717/0.001717, allocations: 214 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 55.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2342, allocations: 50.55 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003033/0.2373, allocations: 2.151 MB / 412.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009507/0.2382, allocations: 0.565 MB / 412.7 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.798e-05/0.2384, allocations: 7.938 kB / 412.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.2385, allocations: 31.7 kB / 412.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.973e-05/0.2386, allocations: 59.48 kB / 412.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.2388, allocations: 47.94 kB / 412.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000256/0.2391, allocations: 231 kB / 413 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.2393, allocations: 77.64 kB / 413.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.2394, allocations: 91.64 kB / 413.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.2396, allocations: 103.6 kB / 413.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.822e-05/0.2396, allocations: 24 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.838e-05/0.2396, allocations: 20 kB / 413.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.999e-05/0.2397, allocations: 43.91 kB / 413.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.562e-05/0.2398, allocations: 103.5 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.24, allocations: 232.3 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.24, allocations: 0 / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.24, allocations: 7.938 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.24, allocations: 0 / 413.7 MB, free: 13.79 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.0006906/0.2407, allocations: 0.491 MB / 414.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.2408, allocations: 8.031 kB / 414.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.386e-05/0.2408, allocations: 20.66 kB / 414.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.2411, allocations: 216.1 kB / 414.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.2411, allocations: 16.38 kB / 414.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.2412, allocations: 20.31 kB / 414.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.2415, allocations: 189.8 kB / 414.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2416, allocations: 4 kB / 414.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.2416, allocations: 4 kB / 414.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.2416, allocations: 7.984 kB / 414.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003037/0.2419, allocations: 143.9 kB / 414.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.243, allocations: 0.7351 MB / 415.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/0.2434, allocations: 158.6 kB / 415.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.2436, allocations: 96.77 kB / 415.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.2436, allocations: 3.984 kB / 415.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.2437, allocations: 34.56 kB / 415.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.2437, allocations: 0 / 415.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004616/0.2441, allocations: 185.4 kB / 416 MB, free: 11.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.2442, allocations: 59.33 kB / 416.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.2443, allocations: 156.8 kB / 416.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.2443, allocations: 25.7 kB / 416.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.2444, allocations: 136.1 kB / 416.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.2445, allocations: 47.36 kB / 416.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.805e-05/0.2445, allocations: 33.7 kB / 416.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.2446, allocations: 326.8 kB / 416.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.2448, allocations: 51.92 kB / 416.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.2449, allocations: 71.91 kB / 416.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.2452, allocations: 124.4 kB / 417 MB, free: 10.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2452, allocations: 3.938 kB / 417 MB, free: 10.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003177/0.2455, allocations: 177.4 kB / 417.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.2455, allocations: 7.984 kB / 417.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2455, allocations: 3.984 kB / 417.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.2456, allocations: 7.938 kB / 417.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.2458, allocations: 39.98 kB / 417.3 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.2458, allocations: 3.938 kB / 417.3 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.2459, allocations: 15.83 kB / 417.3 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.2459, allocations: 12 kB / 417.3 MB, free: 9.957 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 9.587e-05/0.246, allocations: 129.8 kB / 417.4 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.2461, allocations: 15.84 kB / 417.4 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.145e-05/0.2461, allocations: 20.77 kB / 417.5 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.2461, allocations: 4 kB / 417.5 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2462, allocations: 0 / 417.5 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2462, allocations: 0 / 417.5 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.2464, allocations: 269.4 kB / 417.7 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2464, allocations: 0 / 417.7 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.2467, allocations: 39.92 kB / 417.8 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2467, allocations: 4 kB / 417.8 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.2467, allocations: 11.92 kB / 417.8 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2467, allocations: 0 / 417.8 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2467, allocations: 0 / 417.8 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004468/0.2472, allocations: 291.4 kB / 418.1 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.2472, allocations: 88.92 kB / 418.2 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.2473, allocations: 11.94 kB / 418.2 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.2474, allocations: 12.03 kB / 418.2 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.2475, allocations: 11.98 kB / 418.2 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.2475, allocations: 4 kB / 418.2 MB, free: 8.965 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.097e-05/0.2476, allocations: 115.2 kB / 418.3 MB, free: 8.852 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2476, allocations: 0 / 418.3 MB, free: 8.852 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.2478, allocations: 47.84 kB / 418.4 MB, free: 8.805 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.0001072/0.248, allocations: 103.2 kB / 418.5 MB, free: 8.695 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002954/0.2483, allocations: 126.8 kB / 418.6 MB, free: 8.574 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2483, allocations: 3.938 kB / 418.6 MB, free: 8.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.2484, allocations: 63.91 kB / 418.6 MB, free: 8.508 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.2487, allocations: 28.05 kB / 418.7 MB, free: 8.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009603/0.2497, allocations: 0.5468 MB / 419.2 MB, free: 7.902 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.25, allocations: 0.7279 MB / 419.9 MB, free: 7.148 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.611e-05/0.25, allocations: 15.44 kB / 420 MB, free: 7.133 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.25, allocations: 0 / 420 MB, free: 7.133 MB / 334.1 MB Notification: Performance of Templates: time 0.003475/0.2535, allocations: 2.017 MB / 422 MB, free: 5.121 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_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