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.00131/0.00131, allocations: 106.7 kB / 16.62 MB, free: 6.809 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.001632/0.001632, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.458/1.458, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009848/0.0009848, allocations: 46.08 kB / 300.1 MB, free: 6.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.116, allocations: 49.45 MB / 349.6 MB, free: 4.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003399/0.1195, allocations: 2.19 MB / 351.8 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008405/0.1203, allocations: 0.5298 MB / 352.3 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.1205, allocations: 8 kB / 352.3 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.1206, allocations: 15.84 kB / 352.3 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.1207, allocations: 47.61 kB / 352.4 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.1209, allocations: 47.89 kB / 352.4 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.1212, allocations: 231 kB / 352.6 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.1214, allocations: 81.66 kB / 352.7 MB, free: 1.609 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.1216, allocations: 83.77 kB / 352.8 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.1217, allocations: 99.55 kB / 352.9 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.1217, allocations: 20 kB / 352.9 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.735e-05/0.1218, allocations: 20 kB / 352.9 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.357e-05/0.1218, allocations: 43.84 kB / 353 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1219, allocations: 107.5 kB / 353.1 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.1222, allocations: 231.5 kB / 353.3 MB, free: 1.016 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1222, allocations: 7.938 kB / 353.3 MB, free: 1.008 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1222, allocations: 0 / 353.3 MB, free: 1.008 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1222, allocations: 0 / 353.3 MB, free: 1.008 MB / 286.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.0007357/0.123, allocations: 490.8 kB / 353.8 MB, free: 492 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.123, allocations: 8.031 kB / 353.8 MB, free: 484 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.613e-05/0.1231, allocations: 24.66 kB / 353.8 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.1233, allocations: 216.1 kB / 354 MB, free: 204 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.1234, allocations: 12.38 kB / 354.1 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.1234, allocations: 24.38 kB / 354.1 MB, free: 168 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003781/0.1238, allocations: 181.9 kB / 354.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1238, allocations: 0 / 354.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.1239, allocations: 8 kB / 354.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1239, allocations: 4 kB / 354.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.1242, allocations: 147.8 kB / 354.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.1254, allocations: 0.7623 MB / 355.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.1258, allocations: 154.6 kB / 355.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.126, allocations: 96.83 kB / 355.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.126, allocations: 4 kB / 355.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.126, allocations: 34.55 kB / 355.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.126, allocations: 0 / 355.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004889/0.1265, allocations: 189.1 kB / 355.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.1266, allocations: 59.59 kB / 355.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.1267, allocations: 149.8 kB / 355.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.1268, allocations: 25.7 kB / 355.9 MB, free: 14.24 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.037e-05/0.1269, allocations: 132.2 kB / 356 MB, free: 14.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.682e-05/0.1269, allocations: 55.28 kB / 356.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.908e-05/0.127, allocations: 33.61 kB / 356.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1271, allocations: 326.8 kB / 356.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.1272, allocations: 55.94 kB / 356.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.1274, allocations: 73.67 kB / 356.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.1276, allocations: 121.6 kB / 356.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1276, allocations: 0 / 356.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003076/0.1279, allocations: 177.4 kB / 356.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1279, allocations: 11.12 kB / 356.8 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1279, allocations: 3.984 kB / 356.8 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.128, allocations: 3.938 kB / 356.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.1282, allocations: 35.98 kB / 356.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1282, allocations: 4 kB / 356.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.998e-05/0.1283, allocations: 15.89 kB / 356.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1283, allocations: 7.938 kB / 356.9 MB, free: 13.17 MB / 302.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.569e-05/0.1284, allocations: 133.8 kB / 357 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.1285, allocations: 7.906 kB / 357 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.47e-05/0.1285, allocations: 24.78 kB / 357.1 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.1285, allocations: 3.984 kB / 357.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1285, allocations: 4 kB / 357.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1286, allocations: 0 / 357.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.1288, allocations: 265.4 kB / 357.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1288, allocations: 0 / 357.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.129, allocations: 35.98 kB / 357.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1291, allocations: 0 / 357.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.1291, allocations: 11.94 kB / 357.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1291, allocations: 3.984 kB / 357.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1291, allocations: 0 / 357.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004344/0.1295, allocations: 303.2 kB / 357.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.1296, allocations: 89.02 kB / 357.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.1296, allocations: 3.938 kB / 357.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.1298, allocations: 20.03 kB / 357.8 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.1298, allocations: 7.984 kB / 357.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.1298, allocations: 8 kB / 357.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.168e-05/0.1299, allocations: 117.1 kB / 357.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1299, allocations: 0 / 357.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1302, allocations: 47.84 kB / 358 MB, free: 12.01 MB / 302.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.0001601/0.1304, allocations: 111.1 kB / 358.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003002/0.1307, allocations: 127.9 kB / 358.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1307, allocations: 0 / 358.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.1308, allocations: 59.97 kB / 358.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.1312, allocations: 31.86 kB / 358.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.1323, allocations: 0.5843 MB / 358.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.1327, allocations: 0.7201 MB / 359.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.905e-05/0.1328, allocations: 17.42 kB / 359.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.1329, allocations: 11.44 kB / 359.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1329, allocations: 7.938 kB / 359.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of Templates: time 0.004584/0.1375, allocations: 1.588 MB / 361.2 MB, free: 8.711 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins/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.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