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.0008462/0.0008462, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008701/0.0008701, allocations: 160.5 kB / 25.45 MB, free: 9.348 MB / 18.57 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.8553/0.8553, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.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 2.114e-06/2.114e-06, allocations: 0 / 299.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.42e-05, allocations: 2.281 kB / 299.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002831/0.002856, allocations: 1.997 MB / 301.7 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000904/0.00376, allocations: 0.5541 MB / 302.3 MB, free: 4.332 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.003876, allocations: 7.938 kB / 302.3 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.004023, allocations: 35.7 kB / 302.3 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.004124, allocations: 51.5 kB / 302.3 MB, free: 4.238 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.004338, allocations: 55.91 kB / 302.4 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.004555, allocations: 238.9 kB / 302.6 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.00473, allocations: 57.77 kB / 302.7 MB, free: 3.895 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.004908, allocations: 131.8 kB / 302.8 MB, free: 3.766 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.005057, allocations: 75.78 kB / 302.9 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.016e-05/0.005117, allocations: 24 kB / 302.9 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.426e-05/0.005151, allocations: 20 kB / 302.9 MB, free: 3.648 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.005207, allocations: 47.77 kB / 303 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.331e-05/0.00527, allocations: 75.83 kB / 303.1 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.005524, allocations: 243.3 kB / 303.3 MB, free: 3.289 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.005526, allocations: 0 / 303.3 MB, free: 3.289 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.005528, allocations: 3.938 kB / 303.3 MB, free: 3.285 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.005535, allocations: 0 / 303.3 MB, free: 3.285 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.0006811/0.006217, allocations: 425.4 kB / 303.7 MB, free: 2.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.006265, allocations: 15.98 kB / 303.7 MB, free: 2.824 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.006319, allocations: 20.78 kB / 303.7 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.00657, allocations: 177.4 kB / 303.9 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.006589, allocations: 12.38 kB / 303.9 MB, free: 2.594 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.00662, allocations: 16.38 kB / 304 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.006923, allocations: 229.6 kB / 304.2 MB, free: 2.336 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.006933, allocations: 192 / 304.2 MB, free: 2.336 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.006953, allocations: 8.375 kB / 304.2 MB, free: 2.328 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.006961, allocations: 7.938 kB / 304.2 MB, free: 2.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.007154, allocations: 147.8 kB / 304.3 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000862/0.008015, allocations: 0.6224 MB / 305 MB, free: 1.504 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/0.008337, allocations: 154.6 kB / 305.1 MB, free: 1.344 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.008504, allocations: 80.83 kB / 305.2 MB, free: 1.262 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.008516, allocations: 4 kB / 305.2 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.008543, allocations: 34.56 kB / 305.2 MB, free: 1.215 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.904e-06/0.008545, allocations: 4 kB / 305.2 MB, free: 1.211 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003482/0.008894, allocations: 185.5 kB / 305.4 MB, free: 1.023 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.00893, allocations: 51.41 kB / 305.5 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.009036, allocations: 146.1 kB / 305.6 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.009055, allocations: 33.69 kB / 305.6 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.168e-05/0.009126, allocations: 140.2 kB / 305.8 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.009159, allocations: 43.59 kB / 305.8 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.009207, allocations: 37.7 kB / 305.9 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.009308, allocations: 330.8 kB / 306.2 MB, free: 208 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-05/0.009384, allocations: 47.97 kB / 306.2 MB, free: 160 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.968e-05/0.009474, allocations: 69.69 kB / 306.3 MB, free: 84 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.009658, allocations: 128.9 kB / 306.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.009661, allocations: 0 / 306.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000239/0.0099, allocations: 177.4 kB / 306.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.009914, allocations: 11.97 kB / 306.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.00992, allocations: 4 kB / 306.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.009934, allocations: 0 / 306.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.01007, allocations: 39.97 kB / 306.6 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.01007, allocations: 0 / 306.6 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.93e-05/0.01012, allocations: 19.89 kB / 306.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.01013, allocations: 4 kB / 306.7 MB, free: 15.7 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 8.674e-05/0.01022, allocations: 133.7 kB / 306.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.01024, allocations: 7.953 kB / 306.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.01027, allocations: 24.77 kB / 306.8 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.01027, allocations: 0 / 306.8 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.01028, allocations: 0 / 306.8 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01028, allocations: 3.938 kB / 306.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.01047, allocations: 189.1 kB / 307 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01047, allocations: 0 / 307 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.01059, allocations: 35.97 kB / 307.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.01059, allocations: 0 / 307.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.01061, allocations: 4 kB / 307.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.01061, allocations: 4 kB / 307.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01061, allocations: 4 kB / 307.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.01095, allocations: 299.8 kB / 307.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.816e-05/0.01097, allocations: 11.91 kB / 307.4 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.01099, allocations: 4 kB / 307.4 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.089e-05/0.01106, allocations: 12.03 kB / 307.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.01112, allocations: 15.92 kB / 307.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/0.01113, allocations: 8 kB / 307.4 MB, free: 14.9 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.97e-05/0.01119, allocations: 112.3 kB / 307.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01119, allocations: 0 / 307.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001805/0.01137, allocations: 47.89 kB / 307.6 MB, free: 14.75 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 0.0001063/0.01147, allocations: 103.3 kB / 307.7 MB, free: 14.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.01171, allocations: 120 kB / 307.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.01171, allocations: 0 / 307.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.286e-05/0.0118, allocations: 63.92 kB / 307.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.01203, allocations: 27.64 kB / 307.9 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007096/0.01274, allocations: 471.6 kB / 308.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.356e-05/0.01282, allocations: 108.1 kB / 308.4 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.01288, allocations: 20.48 kB / 308.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of SimCode: time 1.352e-06/0.01288, allocations: 4 kB / 308.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of Templates: time 0.002778/0.01566, allocations: 2.058 MB / 310.5 MB, free: 11.73 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.728418290615082]