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.000905/0.000905, allocations: 85.05 kB / 21.5 MB, free: 2.992 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.001099/0.001099, allocations: 145.7 kB / 24.89 MB, free: 8.742 MB / 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.887/0.887, allocations: 173.4 MB / 201.5 MB, free: 8.273 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.613e-06/1.613e-06, allocations: 0 / 268.5 MB, free: 9.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226e-05/1.388e-05, allocations: 6.094 kB / 268.5 MB, free: 9.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002858/0.002871, allocations: 2.139 MB / 270.6 MB, free: 7.664 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009881/0.00386, allocations: 0.5325 MB / 271.1 MB, free: 7.129 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.00396, allocations: 9.969 kB / 271.2 MB, free: 7.121 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.004098, allocations: 39.64 kB / 271.2 MB, free: 7.082 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.004222, allocations: 51.48 kB / 271.2 MB, free: 7.031 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.004415, allocations: 57.2 kB / 271.3 MB, free: 6.977 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.004674, allocations: 238.9 kB / 271.5 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.004816, allocations: 58.41 kB / 271.6 MB, free: 6.684 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.004987, allocations: 136.3 kB / 271.7 MB, free: 6.551 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.005115, allocations: 72.47 kB / 271.8 MB, free: 6.48 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.73e-05/0.005152, allocations: 20 kB / 271.8 MB, free: 6.461 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.143e-05/0.005183, allocations: 25.62 kB / 271.8 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.12e-05/0.005225, allocations: 47.77 kB / 271.9 MB, free: 6.391 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.619e-05/0.005301, allocations: 75.83 kB / 272 MB, free: 6.316 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.005509, allocations: 155.5 kB / 272.1 MB, free: 6.164 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.005511, allocations: 0 / 272.1 MB, free: 6.164 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.005512, allocations: 0.75 kB / 272.1 MB, free: 6.164 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.005515, allocations: 0 / 272.1 MB, free: 6.164 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.0005364/0.006052, allocations: 400 kB / 272.5 MB, free: 5.754 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.006089, allocations: 8.031 kB / 272.5 MB, free: 5.746 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.853e-05/0.006158, allocations: 40.91 kB / 272.6 MB, free: 5.707 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.006354, allocations: 141.5 kB / 272.7 MB, free: 5.543 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.006383, allocations: 16.36 kB / 272.7 MB, free: 5.527 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/0.006422, allocations: 24.81 kB / 272.7 MB, free: 5.504 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.006689, allocations: 194.2 kB / 272.9 MB, free: 5.293 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.006699, allocations: 192 / 272.9 MB, free: 5.293 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.006716, allocations: 8.375 kB / 272.9 MB, free: 5.285 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.006726, allocations: 7.938 kB / 272.9 MB, free: 5.277 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.824e-05/0.006824, allocations: 55.84 kB / 273 MB, free: 5.223 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007881/0.007613, allocations: 0.505 MB / 273.5 MB, free: 4.684 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.007784, allocations: 86.53 kB / 273.6 MB, free: 4.59 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.197e-05/0.007856, allocations: 48.83 kB / 273.6 MB, free: 4.539 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.007868, allocations: 4 kB / 273.6 MB, free: 4.535 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.007891, allocations: 34.56 kB / 273.7 MB, free: 4.492 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.007892, allocations: 0 / 273.7 MB, free: 4.492 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001889/0.008081, allocations: 101.8 kB / 273.8 MB, free: 4.387 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.00811, allocations: 55.41 kB / 273.8 MB, free: 4.32 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.397e-05/0.008204, allocations: 142.5 kB / 274 MB, free: 4.168 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.008219, allocations: 25.7 kB / 274 MB, free: 4.137 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/0.008279, allocations: 136.2 kB / 274.1 MB, free: 4 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.008314, allocations: 47.62 kB / 274.2 MB, free: 3.953 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/0.00837, allocations: 37.64 kB / 274.2 MB, free: 3.91 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.074e-05/0.00846, allocations: 322.8 kB / 274.5 MB, free: 3.586 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.242e-05/0.008493, allocations: 16 kB / 274.5 MB, free: 3.57 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.312e-05/0.008546, allocations: 40.34 kB / 274.6 MB, free: 3.527 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.002e-05/0.008636, allocations: 69.55 kB / 274.6 MB, free: 3.453 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.008638, allocations: 0 / 274.6 MB, free: 3.453 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001404/0.008778, allocations: 100.1 kB / 274.7 MB, free: 3.352 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.008791, allocations: 4 kB / 274.7 MB, free: 3.348 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.008795, allocations: 0 / 274.7 MB, free: 3.348 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.008811, allocations: 7.984 kB / 274.7 MB, free: 3.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.008963, allocations: 35.98 kB / 274.8 MB, free: 3.305 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.008967, allocations: 0 / 274.8 MB, free: 3.305 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.449e-05/0.009032, allocations: 15.89 kB / 274.8 MB, free: 3.289 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.009041, allocations: 7.984 kB / 274.8 MB, free: 3.281 MB / 250.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 8.317e-05/0.009125, allocations: 125.7 kB / 274.9 MB, free: 3.148 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.009157, allocations: 8 kB / 274.9 MB, free: 3.141 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.009187, allocations: 24.77 kB / 275 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.009189, allocations: 0 / 275 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.009191, allocations: 0 / 275 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.009195, allocations: 0 / 275 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.009381, allocations: 121.8 kB / 275.1 MB, free: 2.98 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.009382, allocations: 0 / 275.1 MB, free: 2.98 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.009535, allocations: 39.91 kB / 275.1 MB, free: 2.941 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.009542, allocations: 8 kB / 275.1 MB, free: 2.934 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.009555, allocations: 8 kB / 275.1 MB, free: 2.926 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.009556, allocations: 0 / 275.1 MB, free: 2.926 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.009557, allocations: 0 / 275.1 MB, free: 2.926 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.009764, allocations: 206 kB / 275.3 MB, free: 2.711 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.614e-05/0.00978, allocations: 11.94 kB / 275.3 MB, free: 2.699 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.009801, allocations: 11.97 kB / 275.4 MB, free: 2.688 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.453e-05/0.009895, allocations: 12 kB / 275.4 MB, free: 2.676 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.009924, allocations: 3.984 kB / 275.4 MB, free: 2.672 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.009931, allocations: 8 kB / 275.4 MB, free: 2.664 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.125e-05/0.009962, allocations: 32.83 kB / 275.4 MB, free: 2.629 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009962, allocations: 0 / 275.4 MB, free: 2.629 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.01019, allocations: 47.89 kB / 275.5 MB, free: 2.582 MB / 250.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 8.255e-05/0.01028, allocations: 80.36 kB / 275.5 MB, free: 2.496 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.01039, allocations: 64.83 kB / 275.6 MB, free: 2.43 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.0104, allocations: 4 kB / 275.6 MB, free: 2.426 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.642e-05/0.01045, allocations: 36.78 kB / 275.6 MB, free: 2.387 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.01065, allocations: 28.05 kB / 275.7 MB, free: 2.359 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000758/0.01141, allocations: 412.4 kB / 276.1 MB, free: 1.93 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.69e-05/0.01146, allocations: 71.84 kB / 276.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.203e-05/0.01151, allocations: 9.141 kB / 276.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.01161, allocations: 83.3 kB / 276.2 MB, free: 1.746 MB / 250.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01161, allocations: 0 / 276.2 MB, free: 1.746 MB / 250.7 MB Notification: Performance of Templates: time 0.00343/0.01504, allocations: 1.693 MB / 277.9 MB, free: 92 kB / 250.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: 2.778620968107134]