Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007371/0.0007371, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001082/0.001819, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007032/0.0007032, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009401/0.001643, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8748/0.8748, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1437/1.019, allocations: 49.49 MB / 220.6 MB, free: 1.438 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 221.8 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.041e-05, allocations: 2.312 kB / 221.8 MB, free: 156 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002303/0.002323, allocations: 2.173 MB / 224 MB, free: 13.96 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007721/0.003095, allocations: 0.5773 MB / 224.6 MB, free: 13.38 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.567e-05/0.003181, allocations: 0 / 224.6 MB, free: 13.38 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.941e-05/0.003251, allocations: 27.72 kB / 224.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.411e-05/0.003345, allocations: 63.42 kB / 224.7 MB, free: 13.29 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.003489, allocations: 55.84 kB / 224.7 MB, free: 13.23 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.003704, allocations: 246.9 kB / 225 MB, free: 12.99 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.003839, allocations: 54.42 kB / 225 MB, free: 12.94 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.003989, allocations: 143.7 kB / 225.2 MB, free: 12.8 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.136e-05/0.00408, allocations: 71.78 kB / 225.2 MB, free: 12.73 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.00411, allocations: 20 kB / 225.3 MB, free: 12.71 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.16e-05/0.004132, allocations: 24 kB / 225.3 MB, free: 12.68 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.665e-05/0.004158, allocations: 31.88 kB / 225.3 MB, free: 12.65 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.255e-05/0.004211, allocations: 67.88 kB / 225.4 MB, free: 12.59 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.004372, allocations: 143.5 kB / 225.5 MB, free: 12.45 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.203e-05/0.004384, allocations: 0 / 225.5 MB, free: 12.45 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004385, allocations: 0 / 225.5 MB, free: 12.45 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.004395, allocations: 4 kB / 225.5 MB, free: 12.44 MB / 234.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.0004683/0.004863, allocations: 435.7 kB / 226 MB, free: 11.99 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.004892, allocations: 8.031 kB / 226 MB, free: 11.98 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.004936, allocations: 28.91 kB / 226 MB, free: 11.96 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.005081, allocations: 153.5 kB / 226.1 MB, free: 11.78 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.005103, allocations: 16.38 kB / 226.2 MB, free: 11.77 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.005128, allocations: 20.38 kB / 226.2 MB, free: 11.75 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.005312, allocations: 190.2 kB / 226.4 MB, free: 11.54 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.005319, allocations: 192 / 226.4 MB, free: 11.54 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.005334, allocations: 12.36 kB / 226.4 MB, free: 11.53 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.005341, allocations: 7.938 kB / 226.4 MB, free: 11.52 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.876e-05/0.005409, allocations: 43.94 kB / 226.4 MB, free: 11.48 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005937/0.006003, allocations: 0.5089 MB / 226.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.006138, allocations: 86.52 kB / 227 MB, free: 10.84 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.119e-05/0.00619, allocations: 48.84 kB / 227.1 MB, free: 10.79 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.0062, allocations: 4 kB / 227.1 MB, free: 10.79 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.006223, allocations: 42.48 kB / 227.1 MB, free: 10.73 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.006225, allocations: 4 kB / 227.1 MB, free: 10.73 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001364/0.006361, allocations: 81.67 kB / 227.2 MB, free: 10.64 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.006387, allocations: 55.41 kB / 227.3 MB, free: 10.58 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.113e-05/0.006458, allocations: 150.5 kB / 227.4 MB, free: 10.42 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.006471, allocations: 25.7 kB / 227.4 MB, free: 10.39 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.006517, allocations: 132.2 kB / 227.6 MB, free: 10.25 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.006546, allocations: 59.52 kB / 227.6 MB, free: 10.2 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.006584, allocations: 33.69 kB / 227.6 MB, free: 10.16 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.956e-05/0.006654, allocations: 322.8 kB / 228 MB, free: 9.832 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.891e-05/0.006683, allocations: 16 kB / 228 MB, free: 9.816 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.334e-05/0.006716, allocations: 41.64 kB / 228 MB, free: 9.77 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.114e-05/0.006777, allocations: 69.78 kB / 228.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.006779, allocations: 0 / 228.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 9.612e-05/0.006875, allocations: 100.2 kB / 228.2 MB, free: 9.594 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.006887, allocations: 4 kB / 228.2 MB, free: 9.59 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.006892, allocations: 0 / 228.2 MB, free: 9.59 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/0.0069, allocations: 4 kB / 228.2 MB, free: 9.586 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.007083, allocations: 51.97 kB / 228.2 MB, free: 9.535 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.007086, allocations: 4.031 kB / 228.2 MB, free: 9.531 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.969e-05/0.007125, allocations: 11.94 kB / 228.3 MB, free: 9.52 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.007133, allocations: 11.94 kB / 228.3 MB, free: 9.508 MB / 234.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 6.077e-05/0.007194, allocations: 117.8 kB / 228.4 MB, free: 9.383 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.007215, allocations: 7.984 kB / 228.4 MB, free: 9.375 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.264e-05/0.007237, allocations: 16.78 kB / 228.4 MB, free: 9.359 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.007239, allocations: 0 / 228.4 MB, free: 9.359 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.007241, allocations: 0 / 228.4 MB, free: 9.359 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.007244, allocations: 4 kB / 228.4 MB, free: 9.355 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.007372, allocations: 137.6 kB / 228.5 MB, free: 9.203 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.007373, allocations: 4 kB / 228.5 MB, free: 9.199 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.007501, allocations: 47.91 kB / 228.6 MB, free: 9.152 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.181e-05/0.007513, allocations: 7.953 kB / 228.6 MB, free: 9.145 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.007515, allocations: 3.984 kB / 228.6 MB, free: 9.141 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.007526, allocations: 8 kB / 228.6 MB, free: 9.133 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.007527, allocations: 0 / 228.6 MB, free: 9.133 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007528, allocations: 0 / 228.6 MB, free: 9.133 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.007687, allocations: 201.9 kB / 228.8 MB, free: 8.922 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.007701, allocations: 8 kB / 228.8 MB, free: 8.914 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.191e-05/0.007763, allocations: 15.98 kB / 228.8 MB, free: 8.898 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.007789, allocations: 8.031 kB / 228.8 MB, free: 8.891 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.007796, allocations: 11.98 kB / 228.9 MB, free: 8.879 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.168e-05/0.007818, allocations: 29.86 kB / 228.9 MB, free: 8.848 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007818, allocations: 0 / 228.9 MB, free: 8.848 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001409/0.007959, allocations: 51.84 kB / 228.9 MB, free: 8.797 MB / 234.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 6.819e-05/0.008027, allocations: 84.36 kB / 229 MB, free: 8.707 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 9.574e-05/0.008123, allocations: 72.77 kB / 229.1 MB, free: 8.633 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.00813, allocations: 4 kB / 229.1 MB, free: 8.629 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.00836, allocations: 32.84 kB / 229.1 MB, free: 8.594 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.008535, allocations: 53.75 kB / 229.2 MB, free: 8.543 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.01018, allocations: 408.5 kB / 229.6 MB, free: 8.121 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.394e-05/0.01022, allocations: 75.83 kB / 229.6 MB, free: 8.027 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 5.004e-05/0.01027, allocations: 9.484 kB / 229.7 MB, free: 8.016 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.45e-05/0.01036, allocations: 87.36 kB / 229.7 MB, free: 7.93 MB / 234.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01036, allocations: 0 / 229.7 MB, free: 7.93 MB / 234.7 MB Notification: Performance of Templates: time 0.003387/0.01375, allocations: 1.946 MB / 231.7 MB, free: 6 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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,G.useHeatPort,L.L,L.i,Nr.Ga,Nr.Gb,Nr.Ve,Ro.R,Ro.T,Ro.T_ref,Ro.alpha,Ro.useHeatPort,time filterSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.6185232931748033]