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.0009103/0.0009103, allocations: 93.47 kB / 17.31 MB, free: 6.535 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.001005/0.001005, allocations: 175.4 kB / 18.21 MB, free: 5.684 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.279/1.279, allocations: 223.3 MB / 242.3 MB, free: 180 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002249/0.0002249, allocations: 8.438 kB / 302.1 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07206/0.0723, allocations: 50.41 MB / 352.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.001893/0.07422, allocations: 1.831 MB / 354.3 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007682/0.075, allocations: 0.5299 MB / 354.8 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.664e-05/0.07511, allocations: 4 kB / 354.8 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.553e-05/0.07522, allocations: 23.78 kB / 354.9 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.07533, allocations: 47.61 kB / 354.9 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.07549, allocations: 47.94 kB / 355 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.07573, allocations: 223 kB / 355.2 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.07589, allocations: 66.08 kB / 355.2 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.32e-05/0.07599, allocations: 67.78 kB / 355.3 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.07611, allocations: 95.55 kB / 355.4 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.07614, allocations: 8 kB / 355.4 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.062e-05/0.07618, allocations: 12 kB / 355.4 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.03e-05/0.07621, allocations: 31.84 kB / 355.5 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.279e-05/0.07631, allocations: 117.2 kB / 355.6 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.07647, allocations: 171.8 kB / 355.7 MB, free: 420 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.07648, allocations: 0 / 355.7 MB, free: 420 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.07648, allocations: 0 / 355.7 MB, free: 420 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.07649, allocations: 0 / 355.7 MB, free: 420 kB / 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.0006045/0.0771, allocations: 470.8 kB / 356.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.07714, allocations: 8.031 kB / 356.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/0.07719, allocations: 20.75 kB / 356.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.0774, allocations: 223.2 kB / 356.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.07742, allocations: 12.38 kB / 356.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.07747, allocations: 24.38 kB / 356.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.07783, allocations: 185.9 kB / 356.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.07785, allocations: 0 / 356.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.07787, allocations: 7.938 kB / 356.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.07788, allocations: 4 kB / 356.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.07821, allocations: 155.9 kB / 356.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.07933, allocations: 0.7662 MB / 357.6 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.07974, allocations: 170.6 kB / 357.8 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.07993, allocations: 104.1 kB / 357.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.07995, allocations: 0 / 357.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.07998, allocations: 38.5 kB / 357.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.07999, allocations: 0 / 357.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004516/0.08045, allocations: 189.5 kB / 358.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.08049, allocations: 59.34 kB / 358.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.08061, allocations: 152.8 kB / 358.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.08064, allocations: 25.7 kB / 358.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.08071, allocations: 148.1 kB / 358.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.08075, allocations: 47.3 kB / 358.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.08079, allocations: 21.66 kB / 358.5 MB, free: 13.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.932e-05/0.08089, allocations: 322.8 kB / 358.8 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.08102, allocations: 55.97 kB / 358.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.08118, allocations: 88.31 kB / 359 MB, free: 12.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.08144, allocations: 133.9 kB / 359.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.08145, allocations: 0 / 359.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003391/0.0818, allocations: 184.1 kB / 359.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.08182, allocations: 4 kB / 359.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.08183, allocations: 3.984 kB / 359.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.08185, allocations: 7.938 kB / 359.3 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.08207, allocations: 43.97 kB / 359.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.08208, allocations: 4 kB / 359.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.0822, allocations: 19.92 kB / 359.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.08222, allocations: 8 kB / 359.4 MB, free: 12.52 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 8.911e-05/0.08231, allocations: 125.8 kB / 359.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.08236, allocations: 15.81 kB / 359.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.848e-05/0.0824, allocations: 16.78 kB / 359.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.08241, allocations: 4 kB / 359.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.08242, allocations: 3.938 kB / 359.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.08243, allocations: 3.984 kB / 359.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.0827, allocations: 265.5 kB / 359.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.08271, allocations: 3.984 kB / 359.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.08293, allocations: 39.92 kB / 359.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.08294, allocations: 3.984 kB / 359.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.08296, allocations: 7.938 kB / 359.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.08297, allocations: 4 kB / 359.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.08297, allocations: 0 / 359.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004574/0.08344, allocations: 311.3 kB / 360.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.034e-05/0.08349, allocations: 81.02 kB / 360.2 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.08352, allocations: 11.94 kB / 360.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.08368, allocations: 16.03 kB / 360.3 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.08373, allocations: 7.984 kB / 360.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.08374, allocations: 8 kB / 360.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.501e-05/0.08382, allocations: 116.8 kB / 360.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08383, allocations: 0 / 360.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000275/0.08411, allocations: 47.84 kB / 360.5 MB, free: 11.36 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 8.952e-05/0.08421, allocations: 107.1 kB / 360.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002997/0.08451, allocations: 135.9 kB / 360.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.08452, allocations: 0 / 360.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.08466, allocations: 59.98 kB / 360.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.085, allocations: 34.73 kB / 360.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009366/0.08595, allocations: 0.6867 MB / 361.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.08619, allocations: 0.7242 MB / 362.2 MB, free: 9.547 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.244e-05/0.08625, allocations: 15.44 kB / 362.2 MB, free: 9.531 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.08625, allocations: 0 / 362.2 MB, free: 9.531 MB / 302.1 MB Notification: Performance of Templates: time 0.003336/0.08959, allocations: 1.98 MB / 364.2 MB, free: 7.555 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