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.00147/0.00147, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001592/0.001592, allocations: 161.7 kB / 24.26 MB, free: 176 kB / 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 1.574/1.574, allocations: 177.1 MB / 204.6 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 178] 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.533e-06/1.533e-06, allocations: 0 / 272.3 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.021e-05, allocations: 2.312 kB / 272.3 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.004245/0.004276, allocations: 2.046 MB / 274.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.005488, allocations: 0.5415 MB / 274.9 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.005643, allocations: 0 / 274.9 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.005822, allocations: 35.7 kB / 275 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.005998, allocations: 59.48 kB / 275 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.006258, allocations: 47.92 kB / 275.1 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004219/0.00668, allocations: 246.8 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.006883, allocations: 57.77 kB / 275.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000276/0.007159, allocations: 131.8 kB / 275.5 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.007339, allocations: 67.8 kB / 275.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.382e-05/0.007392, allocations: 23.98 kB / 275.6 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.475e-05/0.007437, allocations: 24 kB / 275.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.277e-05/0.00751, allocations: 43.84 kB / 275.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.007632, allocations: 75.81 kB / 275.7 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.008002, allocations: 251.2 kB / 276 MB, free: 14.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.008005, allocations: 0 / 276 MB, free: 14.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.008006, allocations: 0 / 276 MB, free: 14.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.008012, allocations: 0 / 276 MB, free: 14.12 MB / 266.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.0008626/0.008875, allocations: 421.5 kB / 276.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.008915, allocations: 8.031 kB / 276.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.009016, allocations: 40.8 kB / 276.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.009322, allocations: 156.9 kB / 276.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.009351, allocations: 16.38 kB / 276.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.265e-05/0.009404, allocations: 20.33 kB / 276.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000471/0.009875, allocations: 229.5 kB / 276.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.009885, allocations: 4.125 kB / 276.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.00991, allocations: 12.38 kB / 276.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.00992, allocations: 7.938 kB / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003721/0.01029, allocations: 143.9 kB / 277 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.01163, allocations: 0.6302 MB / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000437/0.01207, allocations: 146.6 kB / 277.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.01229, allocations: 92.75 kB / 277.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.01231, allocations: 0 / 277.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.479e-05/0.01234, allocations: 34.56 kB / 277.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.01234, allocations: 4 kB / 277.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005411/0.01288, allocations: 181.8 kB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.01294, allocations: 59.33 kB / 278.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.01314, allocations: 149.4 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.01317, allocations: 33.7 kB / 278.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.0133, allocations: 136.2 kB / 278.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.289e-05/0.01335, allocations: 47.56 kB / 278.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.365e-05/0.01343, allocations: 37.67 kB / 278.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.01363, allocations: 326.8 kB / 278.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.01377, allocations: 59.91 kB / 278.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.01394, allocations: 69.69 kB / 279 MB, free: 10.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.01422, allocations: 119.5 kB / 279.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.01423, allocations: 4 kB / 279.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003948/0.01462, allocations: 177.5 kB / 279.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.01464, allocations: 12.03 kB / 279.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.01465, allocations: 0 / 279.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.01467, allocations: 0 / 279.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.01492, allocations: 47.91 kB / 279.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.01493, allocations: 7.984 kB / 279.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.01504, allocations: 7.953 kB / 279.3 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.01506, allocations: 15.97 kB / 279.4 MB, free: 10.52 MB / 266.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 0.000138/0.0152, allocations: 125.8 kB / 279.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.211e-05/0.01525, allocations: 19.91 kB / 279.5 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.971e-05/0.0153, allocations: 20.78 kB / 279.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.0153, allocations: 0 / 279.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.01531, allocations: 0 / 279.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01531, allocations: 0 / 279.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.0156, allocations: 181.1 kB / 279.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.0156, allocations: 0 / 279.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.01583, allocations: 43.91 kB / 279.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.01584, allocations: 0 / 279.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.01585, allocations: 4 kB / 279.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01586, allocations: 0 / 279.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.01586, allocations: 4 kB / 279.8 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005484/0.01641, allocations: 307.1 kB / 280.1 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.007e-05/0.01644, allocations: 15.89 kB / 280.1 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.01646, allocations: 4.031 kB / 280.1 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.01661, allocations: 8 kB / 280.1 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.01665, allocations: 11.98 kB / 280.1 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.01667, allocations: 7.984 kB / 280.1 MB, free: 9.727 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001183/0.01679, allocations: 119.2 kB / 280.2 MB, free: 9.609 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01679, allocations: 4 kB / 280.2 MB, free: 9.605 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002987/0.01708, allocations: 47.89 kB / 280.3 MB, free: 9.559 MB / 266.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.0001309/0.01721, allocations: 95.19 kB / 280.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003296/0.01754, allocations: 122.7 kB / 280.5 MB, free: 9.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.01755, allocations: 0 / 280.5 MB, free: 9.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.01769, allocations: 63.91 kB / 280.5 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.01803, allocations: 35.98 kB / 280.6 MB, free: 9.242 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.01904, allocations: 444.7 kB / 281 MB, free: 8.781 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.01917, allocations: 108.1 kB / 281.1 MB, free: 8.648 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.894e-05/0.01924, allocations: 17.14 kB / 281.1 MB, free: 8.633 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.868e-05/0.01929, allocations: 12.5 kB / 281.1 MB, free: 8.621 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01929, allocations: 0 / 281.1 MB, free: 8.621 MB / 266.7 MB Notification: Performance of Templates: time 0.005115/0.02441, allocations: 1.561 MB / 282.7 MB, free: 7.094 MB / 266.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[50234]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.542103901971132]