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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9741/0.9741, allocations: 173.3 MB / 201.1 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 179] 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=50000,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=50000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.775e-05, allocations: 2.312 kB / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003302/0.00333, allocations: 2.164 MB / 270.2 MB, free: 4.234 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009621/0.004292, allocations: 0.5375 MB / 270.7 MB, free: 3.691 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.004411, allocations: 4 kB / 270.7 MB, free: 3.688 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.004562, allocations: 35.66 kB / 270.7 MB, free: 3.652 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.004687, allocations: 55.42 kB / 270.8 MB, free: 3.598 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.004912, allocations: 51.92 kB / 270.8 MB, free: 3.547 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000285/0.005197, allocations: 242.9 kB / 271.1 MB, free: 3.309 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.005366, allocations: 53.78 kB / 271.1 MB, free: 3.254 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/0.005544, allocations: 135.8 kB / 271.3 MB, free: 3.121 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.00568, allocations: 71.78 kB / 271.3 MB, free: 3.051 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.221e-05/0.005722, allocations: 20 kB / 271.4 MB, free: 3.031 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.377e-05/0.005756, allocations: 20 kB / 271.4 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.0058, allocations: 51.81 kB / 271.4 MB, free: 2.961 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.924e-05/0.005879, allocations: 71.89 kB / 271.5 MB, free: 2.891 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.006102, allocations: 151.5 kB / 271.6 MB, free: 2.742 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.006106, allocations: 7.938 kB / 271.6 MB, free: 2.734 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.006107, allocations: 0 / 271.6 MB, free: 2.734 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.006112, allocations: 0 / 271.6 MB, free: 2.734 MB / 250.7 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.0006738/0.006786, allocations: 0.5193 MB / 272.2 MB, free: 2.18 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.00683, allocations: 8.922 kB / 272.2 MB, free: 2.172 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.029e-05/0.00691, allocations: 40.8 kB / 272.2 MB, free: 2.133 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.007137, allocations: 156.4 kB / 272.4 MB, free: 1.953 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.007166, allocations: 12.38 kB / 272.4 MB, free: 1.941 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.007205, allocations: 20.38 kB / 272.4 MB, free: 1.922 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003132/0.007518, allocations: 206.2 kB / 272.6 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.007529, allocations: 192 / 272.6 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.007549, allocations: 4.375 kB / 272.6 MB, free: 1.695 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.007561, allocations: 7.938 kB / 272.6 MB, free: 1.688 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.007718, allocations: 71.91 kB / 272.7 MB, free: 1.617 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.008719, allocations: 0.6722 MB / 273.4 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.00896, allocations: 111.1 kB / 273.5 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.009072, allocations: 63.66 kB / 273.5 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.009083, allocations: 0 / 273.5 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.009113, allocations: 37.39 kB / 273.6 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.009114, allocations: 0 / 273.6 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002996/0.009414, allocations: 129.8 kB / 273.7 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.009447, allocations: 51.41 kB / 273.7 MB, free: 472 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.009578, allocations: 205.8 kB / 273.9 MB, free: 248 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.009597, allocations: 29.7 kB / 274 MB, free: 212 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.243e-05/0.009679, allocations: 183 kB / 274.1 MB, free: 24 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.057e-05/0.00973, allocations: 47.77 kB / 274.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/0.009792, allocations: 39.33 kB / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.009947, allocations: 0.496 MB / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.929e-05/0.01001, allocations: 23.98 kB / 274.8 MB, free: 15.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.391e-05/0.01008, allocations: 51.34 kB / 274.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.01023, allocations: 90.28 kB / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01023, allocations: 0 / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002163/0.01045, allocations: 125.5 kB / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.01047, allocations: 4 kB / 275 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.01048, allocations: 7.984 kB / 275 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.01049, allocations: 0 / 275 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.01069, allocations: 43.97 kB / 275.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.01069, allocations: 3.938 kB / 275.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.05e-05/0.01076, allocations: 7.953 kB / 275.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.01078, allocations: 12.03 kB / 275.1 MB, free: 15.04 MB / 266.7 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.742e-05/0.01087, allocations: 176.4 kB / 275.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.01092, allocations: 15.91 kB / 275.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/0.01095, allocations: 16.78 kB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.01095, allocations: 0 / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.01096, allocations: 0 / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01096, allocations: 0 / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.0112, allocations: 188.5 kB / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.0112, allocations: 4 kB / 275.5 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.01137, allocations: 31.98 kB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.01137, allocations: 4 kB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.01138, allocations: 0 / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01139, allocations: 0 / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.01139, allocations: 7.922 kB / 275.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.0117, allocations: 287.8 kB / 275.8 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.252e-05/0.01172, allocations: 15.88 kB / 275.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.01174, allocations: 4 kB / 275.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.01185, allocations: 12 kB / 275.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.0119, allocations: 7.969 kB / 275.8 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.01191, allocations: 8 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.312e-05/0.01198, allocations: 150.3 kB / 276 MB, free: 14.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01198, allocations: 0 / 276 MB, free: 14.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003055/0.01229, allocations: 51.84 kB / 276.1 MB, free: 14.02 MB / 266.7 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.0001187/0.01241, allocations: 103.2 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002626/0.01267, allocations: 83.14 kB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.01267, allocations: 0 / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.318e-05/0.01275, allocations: 51.61 kB / 276.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.01309, allocations: 34.48 kB / 276.3 MB, free: 13.74 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.01416, allocations: 454.2 kB / 276.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.58e-05/0.01422, allocations: 83.7 kB / 276.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.804e-05/0.01428, allocations: 9.156 kB / 276.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.01433, allocations: 16.5 kB / 276.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01433, allocations: 0 / 276.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of Templates: time 0.004641/0.01897, allocations: 1.628 MB / 278.5 MB, free: 11.52 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" 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_ref,G.alpha,L.L,L.i,Nr.Ga,Nr.Gb,Nr.Ve,Ro.R,Ro.T,Ro.T_ref,Ro.alpha,time filterSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff.mat", vars={"L.i", "C2.v", "C1.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/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.ref.mat", vars={"L.i", "C2.v", "C1.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.216685263905674]