Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_3.2.3_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_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.001425/0.001425, allocations: 114.4 kB / 17.73 MB, free: 5.359 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.001589/0.001589, allocations: 187.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.638/1.638, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 59.92 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1121, allocations: 46.62 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.004724/0.1169, allocations: 2.128 MB / 377.3 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.1183, allocations: 0.5734 MB / 377.8 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002025/0.1186, allocations: 0 / 377.8 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.1188, allocations: 27.72 kB / 377.9 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.119, allocations: 59.48 kB / 377.9 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.1193, allocations: 51.92 kB / 378 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004433/0.1198, allocations: 238.8 kB / 378.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002572/0.12, allocations: 81.62 kB / 378.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.1202, allocations: 83.78 kB / 378.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.1205, allocations: 103.6 kB / 378.5 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.669e-05/0.1205, allocations: 20 kB / 378.5 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.531e-05/0.1206, allocations: 20 kB / 378.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.012e-05/0.1207, allocations: 51.83 kB / 378.6 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.1208, allocations: 99.53 kB / 378.7 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.1212, allocations: 231.2 kB / 378.9 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1212, allocations: 0 / 378.9 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1212, allocations: 0 / 378.9 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.1212, allocations: 4 kB / 378.9 MB, free: 0.8086 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.0008469/0.1221, allocations: 498.8 kB / 379.4 MB, free: 280 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1222, allocations: 12.03 kB / 379.4 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.584e-05/0.1222, allocations: 16.75 kB / 379.4 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2059/0.3281, allocations: 224.8 kB / 379.6 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.588e-05/0.3282, allocations: 12.38 kB / 379.6 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.565e-05/0.3283, allocations: 19.88 kB / 379.7 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004438/0.3288, allocations: 181.7 kB / 379.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.3288, allocations: 0 / 379.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.3288, allocations: 9.062 kB / 379.9 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.3288, allocations: 4.125 kB / 379.9 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.3291, allocations: 142.1 kB / 380 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.3303, allocations: 0.7359 MB / 380.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004008/0.3307, allocations: 158 kB / 380.9 MB, free: 12.63 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.3309, allocations: 95.25 kB / 381 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.331, allocations: 4.719 kB / 381 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.331, allocations: 40.17 kB / 381 MB, free: 12.58 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.983e-06/0.331, allocations: 1.594 kB / 381 MB, free: 12.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005053/0.3315, allocations: 184 kB / 381.2 MB, free: 12.54 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.3315, allocations: 53.64 kB / 381.3 MB, free: 12.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.3317, allocations: 153.8 kB / 381.4 MB, free: 12.38 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.3317, allocations: 29.39 kB / 381.4 MB, free: 12.35 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.143e-05/0.3318, allocations: 132.6 kB / 381.6 MB, free: 12.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.3318, allocations: 47.58 kB / 381.6 MB, free: 12.22 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.3319, allocations: 31.89 kB / 381.6 MB, free: 12.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.455e-05/0.332, allocations: 327.5 kB / 382 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.3321, allocations: 50.55 kB / 382 MB, free: 11.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.3322, allocations: 75.66 kB / 382.1 MB, free: 11.88 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.3325, allocations: 124.4 kB / 382.2 MB, free: 11.83 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3325, allocations: 0.5 kB / 382.2 MB, free: 11.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003455/0.3329, allocations: 180.4 kB / 382.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3329, allocations: 5.484 kB / 382.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3329, allocations: 0.5625 kB / 382.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.3329, allocations: 2.328 kB / 382.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.3332, allocations: 46.31 kB / 382.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3332, allocations: 8.609 kB / 382.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.3333, allocations: 19.22 kB / 382.5 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.3333, allocations: 4.125 kB / 382.5 MB, free: 11.74 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 8.479e-05/0.3334, allocations: 129 kB / 382.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.3335, allocations: 10.31 kB / 382.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.433e-05/0.3335, allocations: 19.81 kB / 382.6 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.3335, allocations: 1.688 kB / 382.6 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3335, allocations: 1.109 kB / 382.6 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3335, allocations: 3.5 kB / 382.6 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.3338, allocations: 272.6 kB / 382.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3338, allocations: 0.5938 kB / 382.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.3341, allocations: 39.62 kB / 382.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3341, allocations: 0.5938 kB / 382.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.3341, allocations: 4.562 kB / 382.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3341, allocations: 1.203 kB / 382.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3341, allocations: 0.625 kB / 382.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004773/0.3346, allocations: 307 kB / 383.2 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-05/0.3347, allocations: 89.55 kB / 383.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.3347, allocations: 6.047 kB / 383.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.3348, allocations: 15.03 kB / 383.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.3349, allocations: 7.391 kB / 383.4 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.3349, allocations: 6.906 kB / 383.4 MB, free: 11.05 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.744e-05/0.335, allocations: 118.4 kB / 383.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.335, allocations: 0 / 383.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.3353, allocations: 47.94 kB / 383.5 MB, free: 10.95 MB / 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.000139/0.3354, allocations: 108.7 kB / 383.6 MB, free: 10.85 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003354/0.3358, allocations: 123.9 kB / 383.8 MB, free: 10.82 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3358, allocations: 3.281 kB / 383.8 MB, free: 10.82 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.3359, allocations: 66.25 kB / 383.8 MB, free: 10.8 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.3363, allocations: 24.48 kB / 383.8 MB, free: 10.79 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009713/0.3373, allocations: 0.5146 MB / 384.4 MB, free: 10.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.3375, allocations: 0.7271 MB / 385.1 MB, free: 9.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.635e-05/0.3375, allocations: 14.61 kB / 385.1 MB, free: 9.746 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.3376, allocations: 14.72 kB / 385.1 MB, free: 9.738 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3376, allocations: 1.344 kB / 385.1 MB, free: 9.738 MB / 318.1 MB Notification: Performance of Templates: time 0.004814/0.3424, allocations: 1.665 MB / 386.8 MB, free: 9.609 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.C,C1.v,C2.C,C2.v,G.G,G.T,G.T_heatPort,G.T_ref,G.alpha,L.L,L.i,Nr.Ga,Nr.Gb,Nr.Ve,Ro.R,Ro.T,Ro.T_heatPort,Ro.T_ref,Ro.alpha,time