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.001124/0.001124, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009914/0.0009914, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9894/0.9894, allocations: 177 MB / 204.8 MB, free: 5.605 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 2.625e-06/2.625e-06, allocations: 4 kB / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.934e-05, allocations: 5.125 kB / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002485/0.002514, allocations: 2.187 MB / 275.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.003717, allocations: 0.5532 MB / 275.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.003874, allocations: 4 kB / 275.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.004019, allocations: 35.64 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.004151, allocations: 51.48 kB / 275.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.00437, allocations: 55.94 kB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.004615, allocations: 242.8 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.00477, allocations: 57.77 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.004909, allocations: 131.8 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.005013, allocations: 71.84 kB / 276.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.261e-05/0.005046, allocations: 20 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.24e-05/0.005079, allocations: 24 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.238e-05/0.005111, allocations: 43.83 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.222e-05/0.005173, allocations: 71.83 kB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.005357, allocations: 167.4 kB / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.005362, allocations: 0 / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.005363, allocations: 4 kB / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.005369, allocations: 3.938 kB / 276.6 MB, free: 13.73 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.0008183/0.006187, allocations: 0.5115 MB / 277.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.006228, allocations: 11.98 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.854e-05/0.006297, allocations: 36.83 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.0065, allocations: 172.3 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.006525, allocations: 12.38 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.006557, allocations: 20.38 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.006813, allocations: 198.2 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.00682, allocations: 192 / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.006837, allocations: 8.375 kB / 277.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.006849, allocations: 11.94 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.006957, allocations: 63.95 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007674/0.007724, allocations: 0.6606 MB / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.007909, allocations: 107.1 kB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.967e-05/0.008009, allocations: 71.55 kB / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.008021, allocations: 4 kB / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.008045, allocations: 37.39 kB / 278.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.903e-06/0.008047, allocations: 0 / 278.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002432/0.00829, allocations: 133.8 kB / 278.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.008323, allocations: 55.41 kB / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.008438, allocations: 195.3 kB / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.008453, allocations: 25.7 kB / 278.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.222e-05/0.008536, allocations: 183 kB / 279.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.008568, allocations: 55.53 kB / 279.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.008617, allocations: 39.36 kB / 279.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.008748, allocations: 0.4961 MB / 279.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.933e-05/0.008797, allocations: 27.98 kB / 279.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.868e-05/0.008856, allocations: 50.11 kB / 279.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.008961, allocations: 79.3 kB / 279.9 MB, free: 10.26 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.008963, allocations: 0 / 279.9 MB, free: 10.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001607/0.009124, allocations: 133.4 kB / 280 MB, free: 10.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.00914, allocations: 10.97 kB / 280 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.009145, allocations: 0 / 280 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.009158, allocations: 0 / 280 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.009305, allocations: 39.97 kB / 280 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.009311, allocations: 4.031 kB / 280 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.747e-05/0.009358, allocations: 19.89 kB / 280.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.009367, allocations: 4 kB / 280.1 MB, free: 10.05 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 8.429e-05/0.009452, allocations: 164.5 kB / 280.2 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.009478, allocations: 19.95 kB / 280.2 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.009509, allocations: 20.77 kB / 280.3 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.009511, allocations: 0 / 280.3 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.009515, allocations: 0 / 280.3 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.009519, allocations: 4 kB / 280.3 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.009677, allocations: 184.5 kB / 280.4 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.009679, allocations: 4 kB / 280.5 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.009799, allocations: 39.97 kB / 280.5 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.009801, allocations: 3.938 kB / 280.5 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.009812, allocations: 0 / 280.5 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.009815, allocations: 4 kB / 280.5 MB, free: 9.562 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.009817, allocations: 0 / 280.5 MB, free: 9.562 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.01006, allocations: 291.4 kB / 280.8 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.73e-05/0.01007, allocations: 19.84 kB / 280.8 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.01009, allocations: 0 / 280.8 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-05/0.01017, allocations: 15.98 kB / 280.8 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.01021, allocations: 11.98 kB / 280.8 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.01021, allocations: 48 / 280.8 MB, free: 9.215 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.826e-05/0.01027, allocations: 151.2 kB / 281 MB, free: 9.066 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01027, allocations: 0 / 281 MB, free: 9.066 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001802/0.01045, allocations: 47.89 kB / 281 MB, free: 9.02 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 9.913e-05/0.01055, allocations: 103.2 kB / 281.1 MB, free: 8.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.01071, allocations: 82.91 kB / 281.2 MB, free: 8.828 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.01072, allocations: 8.062 kB / 281.2 MB, free: 8.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.187e-05/0.01077, allocations: 47.61 kB / 281.3 MB, free: 8.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.01104, allocations: 27.92 kB / 281.3 MB, free: 8.742 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009116/0.01195, allocations: 446.2 kB / 281.7 MB, free: 8.277 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.501e-05/0.01199, allocations: 75.84 kB / 281.8 MB, free: 8.184 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.754e-05/0.01204, allocations: 17.12 kB / 281.8 MB, free: 8.168 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.01208, allocations: 20.44 kB / 281.8 MB, free: 8.148 MB / 266.7 MB Notification: Performance of SimCode: time 6.22e-07/0.01208, allocations: 0 / 281.8 MB, free: 8.148 MB / 266.7 MB Notification: Performance of Templates: time 0.003668/0.01575, allocations: 1.647 MB / 283.5 MB, free: 6.52 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.9783699298277497]