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.001501/0.001501, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.001627/0.001627, allocations: 156.9 kB / 24.27 MB, free: 172 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 1.516/1.516, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 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.733e-06/1.733e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.773e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003608/0.003635, allocations: 2.036 MB / 274.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.004753, allocations: 0.5453 MB / 274.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.467e-05/0.004848, allocations: 4 kB / 274.8 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.004999, allocations: 35.7 kB / 274.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.005114, allocations: 55.48 kB / 274.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.005312, allocations: 51.86 kB / 274.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003068/0.005619, allocations: 250.8 kB / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.00579, allocations: 53.77 kB / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.00599, allocations: 131.8 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.006131, allocations: 67.84 kB / 275.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.653e-05/0.006178, allocations: 20 kB / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.492e-05/0.006223, allocations: 28 kB / 275.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.695e-05/0.00628, allocations: 43.83 kB / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.006394, allocations: 79.81 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.006731, allocations: 243.2 kB / 275.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.006734, allocations: 0 / 275.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.006735, allocations: 0 / 275.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.00674, allocations: 0 / 275.8 MB, free: 14.15 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.0008293/0.007569, allocations: 421.5 kB / 276.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.007609, allocations: 11.98 kB / 276.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.924e-05/0.007709, allocations: 40.8 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.008037, allocations: 157.5 kB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.008066, allocations: 20.31 kB / 276.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/0.008114, allocations: 20.33 kB / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.008553, allocations: 229.6 kB / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.008562, allocations: 192 / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.008584, allocations: 8.375 kB / 276.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.008595, allocations: 7.938 kB / 276.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003393/0.008934, allocations: 143.9 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.01019, allocations: 0.6341 MB / 277.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/0.01061, allocations: 146.5 kB / 277.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.01082, allocations: 92.81 kB / 277.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.01083, allocations: 4 kB / 277.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.01087, allocations: 34.56 kB / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.833e-06/0.01087, allocations: 4 kB / 277.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005189/0.01139, allocations: 193.6 kB / 278 MB, free: 11.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.01144, allocations: 55.41 kB / 278 MB, free: 11.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.01161, allocations: 146.1 kB / 278.2 MB, free: 11.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.01163, allocations: 29.7 kB / 278.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.01174, allocations: 136.2 kB / 278.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.822e-05/0.0118, allocations: 47.58 kB / 278.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.991e-05/0.01187, allocations: 33.67 kB / 278.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.01206, allocations: 326.8 kB / 278.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.01219, allocations: 55.97 kB / 278.8 MB, free: 11.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.01234, allocations: 72.27 kB / 278.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.0126, allocations: 117.7 kB / 279 MB, free: 10.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.0126, allocations: 3.938 kB / 279 MB, free: 10.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003751/0.01298, allocations: 184.3 kB / 279.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.013, allocations: 8.031 kB / 279.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.013, allocations: 0 / 279.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.01302, allocations: 0 / 279.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.01325, allocations: 47.91 kB / 279.2 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.01326, allocations: 0 / 279.2 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.01337, allocations: 15.94 kB / 279.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.01338, allocations: 4 kB / 279.2 MB, free: 10.55 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.0001265/0.01351, allocations: 125.8 kB / 279.4 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.12e-05/0.01356, allocations: 27.83 kB / 279.4 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.0136, allocations: 20.78 kB / 279.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.0136, allocations: 0 / 279.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.01361, allocations: 0 / 279.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01361, allocations: 0 / 279.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.01389, allocations: 189.1 kB / 279.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01389, allocations: 0 / 279.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.01411, allocations: 39.97 kB / 279.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01411, allocations: 0 / 279.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.01413, allocations: 0 / 279.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.01413, allocations: 4 kB / 279.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01413, allocations: 0 / 279.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005359/0.01467, allocations: 311.2 kB / 279.9 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.716e-05/0.01469, allocations: 11.95 kB / 279.9 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.01472, allocations: 8.031 kB / 280 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.01487, allocations: 12 kB / 280 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.01492, allocations: 3.984 kB / 280 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.01493, allocations: 7.984 kB / 280 MB, free: 9.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001048/0.01503, allocations: 115.2 kB / 280.1 MB, free: 9.637 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01503, allocations: 4 kB / 280.1 MB, free: 9.633 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002842/0.01532, allocations: 47.89 kB / 280.1 MB, free: 9.586 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.0001229/0.01544, allocations: 95.19 kB / 280.2 MB, free: 9.484 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003285/0.01577, allocations: 119.9 kB / 280.3 MB, free: 9.367 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01577, allocations: 0 / 280.3 MB, free: 9.367 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.01591, allocations: 63.91 kB / 280.4 MB, free: 9.305 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.01624, allocations: 35.98 kB / 280.4 MB, free: 9.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009566/0.0172, allocations: 444.7 kB / 280.9 MB, free: 8.809 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.01732, allocations: 108.1 kB / 281 MB, free: 8.676 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.776e-05/0.01739, allocations: 17.14 kB / 281 MB, free: 8.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.085e-05/0.01744, allocations: 16.5 kB / 281 MB, free: 8.645 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01744, allocations: 0 / 281 MB, free: 8.645 MB / 266.7 MB Notification: Performance of Templates: time 0.004885/0.02233, allocations: 1.565 MB / 282.6 MB, free: 7.109 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=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[50234]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.431504020933062]