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.001159/0.001159, allocations: 101.8 kB / 17.59 MB, free: 5.449 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.001186/0.001186, allocations: 187.3 kB / 18.51 MB, free: 4.527 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.434/1.434, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 47.67 kB / 301.3 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0898/0.09093, allocations: 49.45 MB / 350.7 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003446/0.09441, allocations: 2.121 MB / 352.9 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.09546, allocations: 0.5454 MB / 353.4 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.09565, allocations: 0 / 353.4 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.09586, allocations: 27.72 kB / 353.4 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.09603, allocations: 59.48 kB / 353.5 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.09627, allocations: 55.92 kB / 353.5 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.09657, allocations: 227 kB / 353.8 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.09678, allocations: 85.58 kB / 353.8 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.09692, allocations: 79.78 kB / 353.9 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.09709, allocations: 99.59 kB / 354 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.677e-05/0.09714, allocations: 23.94 kB / 354 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.109e-05/0.09719, allocations: 20 kB / 354.1 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.162e-05/0.09725, allocations: 47.89 kB / 354.1 MB, free: 1.027 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.09735, allocations: 103.5 kB / 354.2 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.0976, allocations: 227.5 kB / 354.4 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.09761, allocations: 4 kB / 354.4 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.09762, allocations: 4 kB / 354.4 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.09764, allocations: 0 / 354.4 MB, free: 0.6953 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.0008599/0.0985, allocations: 494.8 kB / 354.9 MB, free: 168 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.09856, allocations: 12.03 kB / 354.9 MB, free: 156 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.391e-05/0.09865, allocations: 20.66 kB / 355 MB, free: 136 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.09899, allocations: 220 kB / 355.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.09902, allocations: 16.31 kB / 355.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/0.09908, allocations: 20.38 kB / 355.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/0.09951, allocations: 177.9 kB / 355.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.09953, allocations: 0 / 355.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.09957, allocations: 16 kB / 355.4 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.09958, allocations: 4 kB / 355.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003143/0.0999, allocations: 139.9 kB / 355.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.1012, allocations: 0.7584 MB / 356.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/0.1016, allocations: 159 kB / 356.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.1018, allocations: 96.83 kB / 356.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.1018, allocations: 0 / 356.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.1019, allocations: 38.56 kB / 356.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.1019, allocations: 0 / 356.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004794/0.1024, allocations: 188.2 kB / 356.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.1024, allocations: 63.28 kB / 356.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.1026, allocations: 148.6 kB / 357 MB, free: 13.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.1026, allocations: 33.69 kB / 357 MB, free: 13.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.781e-05/0.1027, allocations: 132.2 kB / 357.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.1027, allocations: 47.28 kB / 357.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.213e-05/0.1028, allocations: 41.62 kB / 357.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1029, allocations: 322.8 kB / 357.5 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.103, allocations: 51.92 kB / 357.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.1032, allocations: 72.27 kB / 357.7 MB, free: 13.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.1034, allocations: 121.7 kB / 357.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1034, allocations: 0 / 357.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003308/0.1038, allocations: 179.9 kB / 358 MB, free: 12.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1038, allocations: 8 kB / 358 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.1038, allocations: 0 / 358 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.1038, allocations: 7.922 kB / 358 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.1041, allocations: 47.94 kB / 358 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1041, allocations: 4 kB / 358 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.1042, allocations: 11.91 kB / 358 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.1042, allocations: 4 kB / 358 MB, free: 12.86 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 0.0001057/0.1043, allocations: 129.8 kB / 358.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.954e-05/0.1044, allocations: 11.89 kB / 358.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.1044, allocations: 20.78 kB / 358.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1044, allocations: 0 / 358.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1045, allocations: 4 kB / 358.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1045, allocations: 0 / 358.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.1048, allocations: 277.3 kB / 358.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1048, allocations: 3.938 kB / 358.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.105, allocations: 35.97 kB / 358.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.105, allocations: 0 / 358.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.105, allocations: 3.938 kB / 358.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.105, allocations: 4 kB / 358.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.105, allocations: 0 / 358.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004904/0.1055, allocations: 303.3 kB / 358.8 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-05/0.1056, allocations: 85.05 kB / 358.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.1056, allocations: 11.88 kB / 358.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.1058, allocations: 15.98 kB / 358.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.1058, allocations: 4 kB / 358.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.1059, allocations: 7.984 kB / 358.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.405e-05/0.106, allocations: 115.3 kB / 359 MB, free: 11.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.106, allocations: 0 / 359 MB, free: 11.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00029/0.1063, allocations: 47.84 kB / 359.1 MB, free: 11.7 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.0001452/0.1064, allocations: 103.7 kB / 359.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003359/0.1068, allocations: 123.9 kB / 359.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1068, allocations: 64 / 359.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.1069, allocations: 71.16 kB / 359.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.1073, allocations: 27.98 kB / 359.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.1084, allocations: 0.5468 MB / 360 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.1087, allocations: 0.7201 MB / 360.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.1088, allocations: 15.44 kB / 360.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1088, allocations: 0 / 360.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of Templates: time 0.004026/0.1128, allocations: 2.017 MB / 362.7 MB, free: 8.02 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/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