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.001453/0.001453, allocations: 88.91 kB / 20.68 MB, free: 1.02 MB / 14.72 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.001511/0.001511, allocations: 161.6 kB / 23.95 MB, free: 4.141 MB / 14.72 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 1.452/1.452, allocations: 177 MB / 204.1 MB, free: 9.133 MB / 190.1 MB " [Timeout remaining time 178] 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.553e-06/1.553e-06, allocations: 0 / 325 MB, free: 480 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.786e-05, allocations: 3.438 kB / 325 MB, free: 476 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.004746/0.004774, allocations: 2.045 MB / 327.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.006254, allocations: 0.5502 MB / 327.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.006396, allocations: 7.469 kB / 327.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.006575, allocations: 32.44 kB / 327.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001803/0.006755, allocations: 53 kB / 327.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.007021, allocations: 60.72 kB / 327.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004217/0.007443, allocations: 243.4 kB / 328 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000231/0.007674, allocations: 53.58 kB / 328.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002609/0.007935, allocations: 133.8 kB / 328.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.008129, allocations: 67.52 kB / 328.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.614e-05/0.008186, allocations: 25.06 kB / 328.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.103e-05/0.008247, allocations: 20.66 kB / 328.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.898e-05/0.008326, allocations: 50.05 kB / 328.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.008473, allocations: 73.16 kB / 328.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004807/0.008954, allocations: 244.7 kB / 328.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.008959, allocations: 1.062 kB / 328.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.008961, allocations: 0 / 328.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.008967, allocations: 0 / 328.7 MB, free: 14.2 MB / 302.1 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.001131/0.0101, allocations: 426.8 kB / 329.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.01015, allocations: 12.33 kB / 329.1 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.721e-05/0.01024, allocations: 23.81 kB / 329.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.01065, allocations: 159 kB / 329.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.757e-05/0.01069, allocations: 16.03 kB / 329.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.828e-05/0.01075, allocations: 24.02 kB / 329.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00067/0.01142, allocations: 231.2 kB / 329.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.01144, allocations: 5.469 kB / 329.5 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.01147, allocations: 5.531 kB / 329.5 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.01149, allocations: 8.656 kB / 329.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005293/0.01202, allocations: 139.3 kB / 329.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.01378, allocations: 0.6256 MB / 330.3 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006264/0.0144, allocations: 149.1 kB / 330.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.0147, allocations: 92.08 kB / 330.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.01472, allocations: 3.109 kB / 330.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.01477, allocations: 35.78 kB / 330.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.01477, allocations: 0 / 330.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007441/0.01551, allocations: 194 kB / 330.8 MB, free: 12.76 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.01556, allocations: 52.47 kB / 330.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.01579, allocations: 153.6 kB / 331 MB, free: 12.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.01582, allocations: 25.7 kB / 331 MB, free: 12.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.01595, allocations: 137.6 kB / 331.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.18e-05/0.01601, allocations: 49.14 kB / 331.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.527e-05/0.01611, allocations: 40.03 kB / 331.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.01631, allocations: 330.3 kB / 331.5 MB, free: 12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.01649, allocations: 47.33 kB / 331.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.01672, allocations: 69.58 kB / 331.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.01709, allocations: 122.8 kB / 331.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.01709, allocations: 0 / 331.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005564/0.01765, allocations: 174.7 kB / 332 MB, free: 11.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.01767, allocations: 8.984 kB / 332 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.01768, allocations: 1.156 kB / 332 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.0177, allocations: 1 kB / 332 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.01803, allocations: 44.55 kB / 332 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.01804, allocations: 1.156 kB / 332 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.01821, allocations: 17.44 kB / 332 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.01823, allocations: 7.406 kB / 332 MB, free: 11.74 MB / 302.1 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.0002101/0.01844, allocations: 126.1 kB / 332.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.683e-05/0.01851, allocations: 17.91 kB / 332.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.711e-05/0.01856, allocations: 14.19 kB / 332.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.01856, allocations: 6.672 kB / 332.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.01857, allocations: 0 / 332.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.01857, allocations: 0 / 332.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/0.01896, allocations: 182.1 kB / 332.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.01897, allocations: 0 / 332.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.01931, allocations: 41.22 kB / 332.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.01931, allocations: 8.938 kB / 332.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.01933, allocations: 1.062 kB / 332.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.01933, allocations: 5.062 kB / 332.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.01934, allocations: 0 / 332.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008231/0.02016, allocations: 300.2 kB / 332.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.0202, allocations: 19.03 kB / 332.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.02024, allocations: 5.125 kB / 332.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.02048, allocations: 16.52 kB / 332.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.934e-05/0.02055, allocations: 10.86 kB / 332.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.02057, allocations: 7.344 kB / 332.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.02071, allocations: 116.1 kB / 332.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.02071, allocations: 1.188 kB / 332.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005104/0.02123, allocations: 47.17 kB / 332.9 MB, free: 11.04 MB / 302.1 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.0001813/0.02141, allocations: 97.55 kB / 333 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005024/0.02191, allocations: 118.3 kB / 333.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.02191, allocations: 1.562 kB / 333.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.02212, allocations: 62.16 kB / 333.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.02264, allocations: 29.59 kB / 333.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.0241, allocations: 432.8 kB / 333.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.02427, allocations: 110.1 kB / 333.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.943e-05/0.02436, allocations: 15.86 kB / 333.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/0.02443, allocations: 14.62 kB / 333.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.02443, allocations: 0 / 333.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of Templates: time 0.007003/0.03143, allocations: 1.535 MB / 335.3 MB, free: 9.633 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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[50210]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.458045668900013]