Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0007867/0.0007867, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004783/0.004783, allocations: 163.1 kB / 24.7 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8559/0.8559, allocations: 177.1 MB / 205 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.142e-05, allocations: 2.281 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.00211/0.002131, allocations: 2.036 MB / 327.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006435/0.002774, allocations: 0.5726 MB / 328.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.812e-05/0.002843, allocations: 4 kB / 328.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.419e-05/0.002927, allocations: 27.72 kB / 328.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.474e-05/0.002991, allocations: 59.42 kB / 328.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.00312, allocations: 47.92 kB / 328.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.003286, allocations: 246.9 kB / 328.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.0034, allocations: 57.7 kB / 328.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.521e-05/0.003495, allocations: 131.8 kB / 329 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.879e-05/0.003574, allocations: 71.78 kB / 329.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/0.003609, allocations: 20 kB / 329.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.015e-05/0.00363, allocations: 24 kB / 329.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.925e-05/0.003659, allocations: 43.83 kB / 329.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.744e-05/0.003706, allocations: 75.83 kB / 329.2 MB, free: 12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.003886, allocations: 247.2 kB / 329.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.634e-06/0.003887, allocations: 0 / 329.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.003888, allocations: 0 / 329.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.003892, allocations: 0 / 329.5 MB, free: 11.76 MB / 298.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.0004206/0.004312, allocations: 425.5 kB / 329.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.004341, allocations: 8.031 kB / 329.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.004377, allocations: 24.8 kB / 329.9 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.004542, allocations: 169.5 kB / 330.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.004558, allocations: 12.38 kB / 330.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.004582, allocations: 20.33 kB / 330.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.004807, allocations: 233.5 kB / 330.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.004814, allocations: 192 / 330.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.004828, allocations: 12.38 kB / 330.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.004834, allocations: 7.938 kB / 330.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.005006, allocations: 135.9 kB / 330.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000637/0.005643, allocations: 0.6224 MB / 331.1 MB, free: 9.988 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.005855, allocations: 154.4 kB / 331.3 MB, free: 9.828 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.005967, allocations: 88.83 kB / 331.4 MB, free: 9.738 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.178e-06/0.005976, allocations: 4 kB / 331.4 MB, free: 9.734 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.005996, allocations: 34.56 kB / 331.4 MB, free: 9.691 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.005997, allocations: 0 / 331.4 MB, free: 9.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002701/0.006267, allocations: 189.4 kB / 331.6 MB, free: 9.504 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.006292, allocations: 55.41 kB / 331.6 MB, free: 9.438 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.159e-05/0.006373, allocations: 146 kB / 331.8 MB, free: 9.281 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.006385, allocations: 29.7 kB / 331.8 MB, free: 9.246 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.687e-05/0.006442, allocations: 136.2 kB / 332 MB, free: 9.105 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.006467, allocations: 51.58 kB / 332 MB, free: 9.055 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.006509, allocations: 37.66 kB / 332 MB, free: 9.012 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.509e-05/0.006584, allocations: 326.8 kB / 332.4 MB, free: 8.684 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.788e-05/0.006652, allocations: 51.97 kB / 332.4 MB, free: 8.633 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.646e-05/0.006728, allocations: 72.78 kB / 332.5 MB, free: 8.559 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.006866, allocations: 117.7 kB / 332.6 MB, free: 8.438 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.006868, allocations: 0 / 332.6 MB, free: 8.438 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001838/0.007052, allocations: 184.4 kB / 332.8 MB, free: 8.254 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.007063, allocations: 4 kB / 332.8 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.007066, allocations: 0 / 332.8 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.007076, allocations: 0 / 332.8 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.007194, allocations: 51.91 kB / 332.8 MB, free: 8.199 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.007198, allocations: 0 / 332.8 MB, free: 8.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.39e-05/0.007242, allocations: 11.89 kB / 332.8 MB, free: 8.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.007248, allocations: 4 kB / 332.8 MB, free: 8.184 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.725e-05/0.007315, allocations: 133.8 kB / 333 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.007334, allocations: 15.91 kB / 333 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/0.007355, allocations: 16.77 kB / 333 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.007357, allocations: 4 kB / 333 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.00736, allocations: 3.938 kB / 333 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.007362, allocations: 0 / 333 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.007501, allocations: 177.2 kB / 333.2 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.007501, allocations: 0 / 333.2 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.007603, allocations: 39.97 kB / 333.2 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.007605, allocations: 0 / 333.2 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.007613, allocations: 12 kB / 333.2 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.007614, allocations: 0 / 333.2 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.007615, allocations: 0 / 333.2 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.007879, allocations: 314 kB / 333.5 MB, free: 7.434 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.007893, allocations: 11.89 kB / 333.6 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.007905, allocations: 7.938 kB / 333.6 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.483e-05/0.00797, allocations: 15.97 kB / 333.6 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.008003, allocations: 15.98 kB / 333.6 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.008009, allocations: 4 kB / 333.6 MB, free: 7.379 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.805e-05/0.008057, allocations: 119.2 kB / 333.7 MB, free: 7.262 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008057, allocations: 0 / 333.7 MB, free: 7.262 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001594/0.008216, allocations: 47.89 kB / 333.8 MB, free: 7.215 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.575e-05/0.008282, allocations: 91.25 kB / 333.9 MB, free: 7.113 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.00846, allocations: 115.9 kB / 334 MB, free: 7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008462, allocations: 64 / 334 MB, free: 7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.515e-05/0.008527, allocations: 63.92 kB / 334 MB, free: 6.938 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.008721, allocations: 27.92 kB / 334.1 MB, free: 6.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005386/0.009259, allocations: 459.8 kB / 334.5 MB, free: 6.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.655e-05/0.009326, allocations: 108.1 kB / 334.6 MB, free: 6.305 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.009364, allocations: 16.5 kB / 334.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of SimCode: time 2.6e-07/0.009364, allocations: 0 / 334.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of Templates: time 0.002168/0.01153, allocations: 2.048 MB / 336.7 MB, free: 4.242 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Warning: Resultfile and Reference have different end time points! Reffile[6013]=3000.000000 File[51300]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.3745762426406145]