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.001164/0.001164, allocations: 110.6 kB / 17.73 MB, free: 5.316 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.001202/0.001202, allocations: 190.9 kB / 18.67 MB, free: 4.383 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.449/1.449, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001172/0.001172, allocations: 51.92 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1039, allocations: 46.62 MB / 375.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.0032/0.1072, allocations: 2.121 MB / 377.3 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000932/0.1081, allocations: 0.5773 MB / 377.9 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1083, allocations: 0 / 377.9 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.1084, allocations: 27.72 kB / 377.9 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.1086, allocations: 55.48 kB / 377.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.1088, allocations: 55.91 kB / 378 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.109, allocations: 238.8 kB / 378.2 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.1093, allocations: 89.62 kB / 378.3 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.1094, allocations: 79.78 kB / 378.4 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.1095, allocations: 99.59 kB / 378.5 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.267e-05/0.1096, allocations: 20 kB / 378.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.5e-05/0.1096, allocations: 20 kB / 378.5 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.266e-05/0.1097, allocations: 47.84 kB / 378.6 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.831e-05/0.1098, allocations: 99.53 kB / 378.7 MB, free: 1.035 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.11, allocations: 235.2 kB / 378.9 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1101, allocations: 4 kB / 378.9 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1101, allocations: 4 kB / 378.9 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1101, allocations: 0 / 378.9 MB, free: 0.7969 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.0008003/0.1109, allocations: 498.8 kB / 379.4 MB, free: 268 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1109, allocations: 12.03 kB / 379.4 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.12e-05/0.111, allocations: 20.75 kB / 379.4 MB, free: 236 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.23/0.341, allocations: 214.3 kB / 379.6 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.968e-05/0.3411, allocations: 16.03 kB / 379.6 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.647e-05/0.3411, allocations: 16.98 kB / 379.7 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005482/0.3417, allocations: 181.6 kB / 379.8 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.3417, allocations: 0 / 379.8 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.3417, allocations: 5.281 kB / 379.8 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.3418, allocations: 4.469 kB / 379.9 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003287/0.3421, allocations: 150.8 kB / 380 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.3435, allocations: 0.7366 MB / 380.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/0.3439, allocations: 159.8 kB / 380.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.3441, allocations: 100.4 kB / 381 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.3441, allocations: 1.375 kB / 381 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.3442, allocations: 38.56 kB / 381 MB, free: 12.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.924e-06/0.3442, allocations: 2.578 kB / 381 MB, free: 12.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005212/0.3447, allocations: 181.7 kB / 381.2 MB, free: 12.53 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.3447, allocations: 58.12 kB / 381.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.3449, allocations: 147 kB / 381.4 MB, free: 12.37 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.3449, allocations: 30.45 kB / 381.4 MB, free: 12.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.931e-05/0.345, allocations: 133.4 kB / 381.6 MB, free: 12.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.345, allocations: 43 kB / 381.6 MB, free: 12.21 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-05/0.3451, allocations: 31.8 kB / 381.6 MB, free: 12.19 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.334e-05/0.3452, allocations: 329 kB / 382 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.3453, allocations: 56.45 kB / 382 MB, free: 11.88 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.3455, allocations: 75.86 kB / 382.1 MB, free: 11.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.3458, allocations: 120 kB / 382.2 MB, free: 11.81 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3458, allocations: 0 / 382.2 MB, free: 11.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000438/0.3463, allocations: 186.8 kB / 382.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.3463, allocations: 5.906 kB / 382.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3463, allocations: 3.703 kB / 382.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.3464, allocations: 1.906 kB / 382.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.3466, allocations: 42.75 kB / 382.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.3466, allocations: 4.453 kB / 382.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.3468, allocations: 19.56 kB / 382.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.3468, allocations: 6.484 kB / 382.5 MB, free: 11.71 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 9.769e-05/0.3469, allocations: 129.4 kB / 382.6 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/0.3469, allocations: 10.44 kB / 382.6 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.747e-05/0.347, allocations: 16.72 kB / 382.6 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.347, allocations: 5.844 kB / 382.6 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.347, allocations: 0 / 382.6 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.347, allocations: 1.234 kB / 382.6 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/0.3473, allocations: 274.9 kB / 382.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3473, allocations: 0.625 kB / 382.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.3476, allocations: 40.38 kB / 382.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3476, allocations: 0.7031 kB / 382.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3476, allocations: 1.156 kB / 382.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3476, allocations: 1.531 kB / 382.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.3476, allocations: 1.328 kB / 382.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004684/0.3481, allocations: 303.8 kB / 383.2 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/0.3482, allocations: 89.44 kB / 383.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.3482, allocations: 3.609 kB / 383.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.3483, allocations: 18.38 kB / 383.4 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.3484, allocations: 10.62 kB / 383.4 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.3484, allocations: 6.719 kB / 383.4 MB, free: 11.03 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.861e-05/0.3485, allocations: 119.3 kB / 383.5 MB, free: 10.94 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3485, allocations: 0 / 383.5 MB, free: 10.94 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.3488, allocations: 47.09 kB / 383.5 MB, free: 10.93 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.0001069/0.3489, allocations: 105.3 kB / 383.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003359/0.3492, allocations: 127.6 kB / 383.8 MB, free: 10.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3492, allocations: 4.062 kB / 383.8 MB, free: 10.79 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.3494, allocations: 64.81 kB / 383.8 MB, free: 10.77 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.3497, allocations: 25.98 kB / 383.9 MB, free: 10.77 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009982/0.3507, allocations: 0.5225 MB / 384.4 MB, free: 10.42 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.3509, allocations: 0.7211 MB / 385.1 MB, free: 9.723 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.896e-05/0.351, allocations: 13.62 kB / 385.1 MB, free: 9.719 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.3511, allocations: 15.06 kB / 385.1 MB, free: 9.711 MB / 318.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3511, allocations: 0 / 385.1 MB, free: 9.711 MB / 318.1 MB Notification: Performance of Templates: time 0.005208/0.3563, allocations: 1.645 MB / 386.8 MB, free: 9.602 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