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.0009461/0.0009461, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001218/0.001218, allocations: 164.8 kB / 24.91 MB, free: 8.762 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.9788/0.9788, allocations: 177 MB / 205.2 MB, free: 5.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.593e-06/1.593e-06, allocations: 0 / 273.4 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.428e-05, allocations: 2.312 kB / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003339/0.003363, allocations: 2.169 MB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.004573, allocations: 0.5647 MB / 276.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.004705, allocations: 4 kB / 276.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.004869, allocations: 39.58 kB / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.005004, allocations: 47.5 kB / 276.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.005215, allocations: 63.91 kB / 276.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002818/0.005497, allocations: 242.9 kB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.005656, allocations: 58.36 kB / 276.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.005854, allocations: 131.8 kB / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.005988, allocations: 75.78 kB / 276.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.139e-05/0.006029, allocations: 20 kB / 276.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.199e-05/0.006061, allocations: 24 kB / 276.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.527e-05/0.006107, allocations: 43.83 kB / 276.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.814e-05/0.006185, allocations: 71.83 kB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.006415, allocations: 163.5 kB / 277.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.00642, allocations: 4 kB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.006421, allocations: 0 / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.006434, allocations: 0 / 277.1 MB, free: 13.5 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.000463/0.006897, allocations: 396.1 kB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.006929, allocations: 11.98 kB / 277.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.006973, allocations: 32.91 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.007121, allocations: 137.6 kB / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.007143, allocations: 16.38 kB / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.007169, allocations: 24.3 kB / 277.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.007358, allocations: 190.2 kB / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.007365, allocations: 192 / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.007379, allocations: 12.38 kB / 277.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.007386, allocations: 7.938 kB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.207e-05/0.007448, allocations: 47.91 kB / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005383/0.007986, allocations: 0.5127 MB / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.008114, allocations: 86.53 kB / 278.5 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.318e-05/0.008167, allocations: 52.83 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.008177, allocations: 4 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.008199, allocations: 34.56 kB / 278.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.0082, allocations: 4 kB / 278.6 MB, free: 11.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000145/0.008345, allocations: 93.84 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.008368, allocations: 51.41 kB / 278.8 MB, free: 11.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.574e-05/0.008444, allocations: 145.9 kB / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.008455, allocations: 25.7 kB / 279 MB, free: 11.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.008499, allocations: 136.2 kB / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.008525, allocations: 51.58 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.008559, allocations: 29.7 kB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.197e-05/0.008641, allocations: 326.8 kB / 279.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.351e-05/0.008665, allocations: 23.98 kB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.192e-05/0.008697, allocations: 33.69 kB / 279.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.952e-05/0.008756, allocations: 72.36 kB / 279.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.008758, allocations: 0 / 279.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 9.106e-05/0.008849, allocations: 89.66 kB / 279.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.008859, allocations: 4 kB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.008863, allocations: 0 / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.008873, allocations: 0 / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.008981, allocations: 55.92 kB / 279.8 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.008985, allocations: 4 kB / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.64e-05/0.009021, allocations: 11.89 kB / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.009026, allocations: 4 kB / 279.8 MB, free: 10.63 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 5.943e-05/0.009086, allocations: 129.6 kB / 279.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.009104, allocations: 8 kB / 279.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.226e-05/0.009126, allocations: 20.77 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.009128, allocations: 0 / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.009129, allocations: 0 / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.009132, allocations: 0 / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.009257, allocations: 125.8 kB / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.009257, allocations: 0 / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.00936, allocations: 43.91 kB / 280.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.009361, allocations: 0 / 280.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.009368, allocations: 4 kB / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.009369, allocations: 0 / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.009369, allocations: 0 / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.009549, allocations: 207.4 kB / 280.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.009562, allocations: 15.83 kB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.009574, allocations: 4 kB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.949e-05/0.009634, allocations: 19.98 kB / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.009659, allocations: 3.984 kB / 280.3 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.009664, allocations: 4 kB / 280.3 MB, free: 10.01 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.216e-05/0.009686, allocations: 24.84 kB / 280.4 MB, free: 9.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009686, allocations: 0 / 280.4 MB, free: 9.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001425/0.009829, allocations: 55.84 kB / 280.4 MB, free: 9.926 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.897e-05/0.009908, allocations: 76.41 kB / 280.5 MB, free: 9.844 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.243e-05/0.01, allocations: 83.81 kB / 280.6 MB, free: 9.766 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.01, allocations: 0 / 280.6 MB, free: 9.766 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.386e-05/0.01004, allocations: 40.78 kB / 280.6 MB, free: 9.723 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.01019, allocations: 22.8 kB / 280.6 MB, free: 9.703 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006012/0.01079, allocations: 408.6 kB / 281 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.716e-05/0.01083, allocations: 75.83 kB / 281.1 MB, free: 9.184 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.973e-05/0.01087, allocations: 13.14 kB / 281.1 MB, free: 9.168 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.568e-05/0.01095, allocations: 75.36 kB / 281.2 MB, free: 9.094 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01095, allocations: 0 / 281.2 MB, free: 9.094 MB / 266.7 MB Notification: Performance of Templates: time 0.003/0.01395, allocations: 1.697 MB / 282.9 MB, free: 7.426 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[50190]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.661037376150489]