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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=100000,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=100000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 104.3 kB / 17.73 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002079/0.002079, allocations: 191 kB / 18.67 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001103, allocations: 47.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2551, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003653/0.2588, allocations: 2.137 MB / 403.5 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.2599, allocations: 0.5376 MB / 404.1 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.2601, allocations: 4 kB / 404.1 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.2603, allocations: 31.7 kB / 404.1 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.2605, allocations: 59.48 kB / 404.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.2607, allocations: 55.92 kB / 404.2 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003168/0.261, allocations: 235 kB / 404.5 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.2612, allocations: 69.67 kB / 404.5 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.2614, allocations: 91.75 kB / 404.6 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.2616, allocations: 95.61 kB / 404.7 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.442e-05/0.2616, allocations: 27.94 kB / 404.7 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.575e-05/0.2617, allocations: 20 kB / 404.8 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.705e-05/0.2617, allocations: 39.91 kB / 404.8 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.2618, allocations: 111.5 kB / 404.9 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.2621, allocations: 236.3 kB / 405.1 MB, free: 5.148 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.2621, allocations: 4 kB / 405.1 MB, free: 5.145 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2621, allocations: 0 / 405.1 MB, free: 5.145 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.2621, allocations: 0 / 405.1 MB, free: 5.145 MB / 318.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.0007852/0.2629, allocations: 0.4899 MB / 405.6 MB, free: 4.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.263, allocations: 8.031 kB / 405.6 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.941e-05/0.263, allocations: 20.75 kB / 405.7 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.2634, allocations: 216 kB / 405.9 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.2634, allocations: 12.38 kB / 405.9 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.172e-05/0.2634, allocations: 24.38 kB / 405.9 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003653/0.2638, allocations: 185.9 kB / 406.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2638, allocations: 0 / 406.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.2639, allocations: 8 kB / 406.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.2639, allocations: 4 kB / 406.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.2642, allocations: 143.8 kB / 406.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.2654, allocations: 0.7545 MB / 407 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003853/0.2658, allocations: 154.6 kB / 407.1 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.266, allocations: 96.81 kB / 407.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.266, allocations: 0 / 407.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.266, allocations: 34.56 kB / 407.3 MB, free: 2.832 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.2661, allocations: 0 / 407.3 MB, free: 2.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004799/0.2665, allocations: 192.5 kB / 407.5 MB, free: 2.641 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.2666, allocations: 59.34 kB / 407.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.2667, allocations: 149.3 kB / 407.7 MB, free: 2.418 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.2668, allocations: 33.7 kB / 407.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/0.2669, allocations: 136.1 kB / 407.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.2669, allocations: 39.36 kB / 407.9 MB, free: 2.203 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.148e-05/0.267, allocations: 37.7 kB / 407.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2671, allocations: 326.8 kB / 408.2 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.2673, allocations: 47.97 kB / 408.3 MB, free: 1.785 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.2674, allocations: 73.64 kB / 408.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.2677, allocations: 121.6 kB / 408.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.2677, allocations: 0 / 408.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003451/0.268, allocations: 183.9 kB / 408.6 MB, free: 1.398 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.268, allocations: 7.938 kB / 408.7 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2681, allocations: 4 kB / 408.7 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.2681, allocations: 3.938 kB / 408.7 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.2683, allocations: 39.97 kB / 408.7 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.2683, allocations: 0 / 408.7 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.2684, allocations: 19.84 kB / 408.7 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.2685, allocations: 4.031 kB / 408.7 MB, free: 1.32 MB / 318.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.0001213/0.2686, allocations: 137.7 kB / 408.9 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.2686, allocations: 7.906 kB / 408.9 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.2687, allocations: 24.77 kB / 408.9 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2687, allocations: 3.938 kB / 408.9 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.2687, allocations: 0 / 408.9 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2687, allocations: 0 / 408.9 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.269, allocations: 265.5 kB / 409.2 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.269, allocations: 4 kB / 409.2 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.2692, allocations: 39.97 kB / 409.2 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2693, allocations: 0 / 409.2 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.2693, allocations: 3.938 kB / 409.2 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.2693, allocations: 4 kB / 409.2 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2693, allocations: 4 kB / 409.2 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004658/0.2698, allocations: 303.2 kB / 409.5 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.2698, allocations: 89.05 kB / 409.6 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.2699, allocations: 7.938 kB / 409.6 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.27, allocations: 12 kB / 409.6 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.2701, allocations: 7.984 kB / 409.6 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.2701, allocations: 0 / 409.6 MB, free: 336 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.879e-05/0.2702, allocations: 119.2 kB / 409.7 MB, free: 216 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2702, allocations: 0 / 409.7 MB, free: 216 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.2705, allocations: 47.84 kB / 409.8 MB, free: 168 kB / 318.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.0001337/0.2706, allocations: 107.7 kB / 409.9 MB, free: 52 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003255/0.2709, allocations: 128 kB / 410 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2709, allocations: 0 / 410 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.2711, allocations: 63.91 kB / 410.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.2714, allocations: 24.05 kB / 410.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.2724, allocations: 0.5314 MB / 410.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.2728, allocations: 0.7317 MB / 411.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.725e-05/0.2729, allocations: 15.44 kB / 411.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2729, allocations: 0 / 411.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of Templates: time 0.003961/0.2768, allocations: 2.04 MB / 413.4 MB, free: 12.46 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (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) 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) "" Variables in the reference:time,C1.v,C2.v,L.i Variables in the result:C1.v,C2.v,L.i,time