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.0008292/0.0008292, allocations: 84 kB / 21.43 MB, free: 3.129 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.003243/0.003243, allocations: 138.9 kB / 24.68 MB, free: 8.91 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.815/0.815, allocations: 173.4 MB / 201.2 MB, free: 9.438 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.413e-06/1.413e-06, allocations: 0 / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.741e-05, allocations: 6.219 kB / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.001812/0.001829, allocations: 2.016 MB / 321.7 MB, free: 3.816 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005822/0.002411, allocations: 0.522 MB / 322.2 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.384e-05/0.002485, allocations: 4 kB / 322.2 MB, free: 3.285 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.002587, allocations: 27.72 kB / 322.3 MB, free: 3.258 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.002907, allocations: 55.48 kB / 322.3 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.003052, allocations: 63.78 kB / 322.4 MB, free: 3.141 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.00322, allocations: 242.8 kB / 322.6 MB, free: 2.902 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.003346, allocations: 49.78 kB / 322.7 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.003447, allocations: 135.8 kB / 322.8 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.219e-05/0.003529, allocations: 79.83 kB / 322.9 MB, free: 2.637 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.00356, allocations: 20 kB / 322.9 MB, free: 2.617 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.983e-05/0.00358, allocations: 20 kB / 322.9 MB, free: 2.598 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.855e-05/0.003608, allocations: 43.83 kB / 323 MB, free: 2.555 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.974e-05/0.003658, allocations: 75.83 kB / 323 MB, free: 2.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.00384, allocations: 239.2 kB / 323.3 MB, free: 2.246 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.003842, allocations: 4 kB / 323.3 MB, free: 2.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.003843, allocations: 0 / 323.3 MB, free: 2.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.003847, allocations: 0 / 323.3 MB, free: 2.242 MB / 282.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.0004667/0.004313, allocations: 421.5 kB / 323.7 MB, free: 1.801 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.004344, allocations: 12.92 kB / 323.7 MB, free: 1.789 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.004383, allocations: 20.8 kB / 323.7 MB, free: 1.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.004561, allocations: 168.7 kB / 323.9 MB, free: 1.582 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.004578, allocations: 16.33 kB / 323.9 MB, free: 1.566 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.004606, allocations: 24.3 kB / 323.9 MB, free: 1.543 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.004849, allocations: 233.5 kB / 324.1 MB, free: 1.297 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.004858, allocations: 192 / 324.1 MB, free: 1.297 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.004873, allocations: 4.375 kB / 324.2 MB, free: 1.293 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.004879, allocations: 7.938 kB / 324.2 MB, free: 1.285 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.005055, allocations: 143.9 kB / 324.3 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006414/0.005697, allocations: 0.6224 MB / 324.9 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.005912, allocations: 150.5 kB / 325.1 MB, free: 324 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.006022, allocations: 88.75 kB / 325.2 MB, free: 232 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.006032, allocations: 11.98 kB / 325.2 MB, free: 220 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.006051, allocations: 34.56 kB / 325.2 MB, free: 176 kB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.006052, allocations: 0 / 325.2 MB, free: 176 kB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002832/0.006336, allocations: 185.6 kB / 325.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.00636, allocations: 51.41 kB / 325.4 MB, free: 15.92 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.12e-05/0.006441, allocations: 152.2 kB / 325.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.006455, allocations: 29.7 kB / 325.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.006507, allocations: 144.2 kB / 325.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.006531, allocations: 43.58 kB / 325.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.006572, allocations: 41.7 kB / 325.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.682e-05/0.006639, allocations: 322.8 kB / 326.1 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.006706, allocations: 51.94 kB / 326.2 MB, free: 15.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.931e-05/0.006785, allocations: 73.67 kB / 326.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.00692, allocations: 121.6 kB / 326.4 MB, free: 14.92 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.006922, allocations: 0 / 326.4 MB, free: 14.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001833/0.007105, allocations: 180.1 kB / 326.6 MB, free: 14.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.007115, allocations: 4 kB / 326.6 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.007119, allocations: 4 kB / 326.6 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.007131, allocations: 0 / 326.6 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.007245, allocations: 43.91 kB / 326.6 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.00725, allocations: 0 / 326.6 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.007295, allocations: 19.94 kB / 326.6 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.007301, allocations: 4 kB / 326.6 MB, free: 14.66 MB / 298.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.483e-05/0.007366, allocations: 133.8 kB / 326.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.007384, allocations: 11.91 kB / 326.8 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.143e-05/0.007405, allocations: 16.78 kB / 326.8 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.007407, allocations: 0 / 326.8 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.00741, allocations: 0 / 326.8 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.007417, allocations: 7.984 kB / 326.8 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.007551, allocations: 181.1 kB / 327 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.007553, allocations: 4 kB / 327 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.007654, allocations: 43.84 kB / 327 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.007655, allocations: 0 / 327 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.007663, allocations: 8 kB / 327 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.007664, allocations: 0 / 327 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.007666, allocations: 4 kB / 327 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.00793, allocations: 299.3 kB / 327.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.314e-05/0.007943, allocations: 11.98 kB / 327.3 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.007955, allocations: 0 / 327.3 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.509e-05/0.00802, allocations: 15.98 kB / 327.4 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-05/0.00805, allocations: 11.92 kB / 327.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.008056, allocations: 8 kB / 327.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.452e-05/0.0081, allocations: 110.5 kB / 327.5 MB, free: 13.76 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0081, allocations: 0 / 327.5 MB, free: 13.76 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001608/0.008261, allocations: 51.84 kB / 327.5 MB, free: 13.71 MB / 298.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.384e-05/0.008325, allocations: 99.25 kB / 327.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.008495, allocations: 115.9 kB / 327.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.008497, allocations: 0 / 327.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.527e-05/0.008562, allocations: 67.97 kB / 327.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.008752, allocations: 23.91 kB / 327.8 MB, free: 13.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005349/0.009287, allocations: 467.7 kB / 328.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.019e-05/0.009347, allocations: 112.1 kB / 328.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.009385, allocations: 20.5 kB / 328.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of SimCode: time 2.7e-07/0.009385, allocations: 3.938 kB / 328.4 MB, free: 12.76 MB / 298.7 MB Notification: Performance of Templates: time 0.002345/0.01173, allocations: 2.042 MB / 330.5 MB, free: 10.72 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",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.v,C2.v,L.i,time [Calling sys.exit(0), Time elapsed: 4.389127600006759]