Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009408/0.0009408, allocations: 85.91 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001018/0.001018, allocations: 159 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9218/0.9218, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 274.1 MB, free: 4.359 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.712e-05, allocations: 6.703 kB / 274.1 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002936/0.002953, allocations: 2.148 MB / 276.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008594/0.003812, allocations: 0.5626 MB / 276.8 MB, free: 1.641 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.604e-05/0.003909, allocations: 5.562 kB / 276.9 MB, free: 1.637 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.004035, allocations: 31.66 kB / 276.9 MB, free: 1.605 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.004135, allocations: 56.14 kB / 276.9 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.004308, allocations: 61.53 kB / 277 MB, free: 1.492 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.004539, allocations: 234.9 kB / 277.2 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.00468, allocations: 53.77 kB / 277.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.004825, allocations: 131.8 kB / 277.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.004939, allocations: 75.77 kB / 277.5 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.004969, allocations: 20.88 kB / 277.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.936e-05/0.004999, allocations: 20 kB / 277.5 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.005037, allocations: 51.89 kB / 277.6 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.576e-05/0.005103, allocations: 71.83 kB / 277.6 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.00529, allocations: 163.4 kB / 277.8 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.005292, allocations: 0 / 277.8 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005292, allocations: 3.938 kB / 277.8 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.005297, allocations: 0 / 277.8 MB, free: 0.6797 MB / 250.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.0005295/0.005826, allocations: 0.5115 MB / 278.3 MB, free: 136 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.005857, allocations: 12.03 kB / 278.3 MB, free: 124 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.692e-05/0.005914, allocations: 36.8 kB / 278.4 MB, free: 88 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.006096, allocations: 162.5 kB / 278.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.006119, allocations: 16.38 kB / 278.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.006149, allocations: 20.33 kB / 278.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.006362, allocations: 182.3 kB / 278.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.00637, allocations: 192 / 278.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.006387, allocations: 12.38 kB / 278.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.006395, allocations: 7.938 kB / 278.8 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.286e-05/0.006488, allocations: 55.91 kB / 278.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007294/0.007217, allocations: 0.6299 MB / 279.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.007384, allocations: 107.1 kB / 279.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.586e-05/0.00746, allocations: 55.66 kB / 279.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.007469, allocations: 0 / 279.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.007495, allocations: 45.38 kB / 279.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.021e-06/0.007496, allocations: 0 / 279.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002068/0.007703, allocations: 113.8 kB / 279.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.00773, allocations: 55.41 kB / 279.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.007831, allocations: 199.7 kB / 280 MB, free: 14.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.007845, allocations: 29.7 kB / 280 MB, free: 14.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.428e-05/0.00792, allocations: 183 kB / 280.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.007956, allocations: 55.52 kB / 280.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-05/0.008009, allocations: 39.34 kB / 280.3 MB, free: 13.97 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.008133, allocations: 0.4961 MB / 280.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.544e-05/0.008169, allocations: 19.98 kB / 280.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.851e-05/0.008217, allocations: 43.25 kB / 280.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.495e-05/0.008302, allocations: 71.28 kB / 280.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.008304, allocations: 0 / 280.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001549/0.008459, allocations: 121.5 kB / 281.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.008469, allocations: 6.344 kB / 281.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.008473, allocations: 4.031 kB / 281.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.008483, allocations: 4 kB / 281.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.008631, allocations: 39.97 kB / 281.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.008634, allocations: 0 / 281.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.865e-05/0.008693, allocations: 11.94 kB / 281.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.008701, allocations: 4 kB / 281.1 MB, free: 13.12 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 7.881e-05/0.00878, allocations: 168.5 kB / 281.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.008814, allocations: 15.91 kB / 281.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.93e-05/0.008843, allocations: 20.77 kB / 281.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.008846, allocations: 8 kB / 281.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.008848, allocations: 0 / 281.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.008852, allocations: 7.922 kB / 281.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.009027, allocations: 149.2 kB / 281.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.009029, allocations: 3.938 kB / 281.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.00916, allocations: 35.97 kB / 281.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.009162, allocations: 0 / 281.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.009172, allocations: 8 kB / 281.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.009173, allocations: 0 / 281.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.009173, allocations: 0 / 281.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.009401, allocations: 279 kB / 281.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.759e-05/0.009418, allocations: 15.83 kB / 281.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.009436, allocations: 4 kB / 281.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.599e-05/0.009532, allocations: 11.98 kB / 281.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.009564, allocations: 7.984 kB / 281.8 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.009573, allocations: 8 kB / 281.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.553e-05/0.009629, allocations: 149.7 kB / 282 MB, free: 12.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009629, allocations: 4 kB / 282 MB, free: 12.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002473/0.009876, allocations: 47.89 kB / 282 MB, free: 12.15 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 7.533e-05/0.009951, allocations: 99.19 kB / 282.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.01008, allocations: 79.53 kB / 282.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01008, allocations: 0 / 282.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.89e-05/0.01013, allocations: 43.61 kB / 282.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.0104, allocations: 27.92 kB / 282.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.01144, allocations: 454.4 kB / 282.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.545e-05/0.01149, allocations: 71.83 kB / 282.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.481e-05/0.01154, allocations: 17.08 kB / 282.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.01164, allocations: 94.19 kB / 282.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01164, allocations: 0 / 282.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of Templates: time 0.003619/0.01526, allocations: 1.74 MB / 284.7 MB, free: 9.512 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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: 2.710997232235968]