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.001207/0.001207, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.005392/0.005392, allocations: 160.8 kB / 24.7 MB, free: 9.441 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.9375/0.9375, allocations: 177 MB / 204.9 MB, free: 5.715 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.874e-06/1.874e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.038e-05, allocations: 4.109 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003212/0.003242, allocations: 2.047 MB / 327.8 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009761/0.004218, allocations: 0.5532 MB / 328.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.004322, allocations: 4 kB / 328.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.00446, allocations: 35.7 kB / 328.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.00457, allocations: 55.48 kB / 328.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.004773, allocations: 55.86 kB / 328.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005242/0.005297, allocations: 242.8 kB / 328.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.00547, allocations: 57.77 kB / 328.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.005634, allocations: 135.8 kB / 329 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.005753, allocations: 67.84 kB / 329 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.725e-05/0.005801, allocations: 20 kB / 329 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.258e-05/0.005833, allocations: 20 kB / 329.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.051e-05/0.005874, allocations: 47.83 kB / 329.1 MB, free: 12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.54e-05/0.005949, allocations: 75.83 kB / 329.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.006216, allocations: 247.2 kB / 329.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.006218, allocations: 0 / 329.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.006219, allocations: 0 / 329.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.006224, allocations: 0 / 329.4 MB, free: 11.69 MB / 298.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.0006344/0.006859, allocations: 425.5 kB / 329.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.006901, allocations: 15.98 kB / 329.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.905e-05/0.00696, allocations: 20.8 kB / 329.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.007204, allocations: 154.4 kB / 330 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.007226, allocations: 16.38 kB / 330 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.007262, allocations: 20.33 kB / 330.1 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.007616, allocations: 237.5 kB / 330.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.007628, allocations: 4.188 kB / 330.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.007648, allocations: 4.375 kB / 330.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.007657, allocations: 7.938 kB / 330.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/0.007939, allocations: 139.9 kB / 330.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.008943, allocations: 0.6224 MB / 331.1 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/0.00927, allocations: 150.5 kB / 331.2 MB, free: 9.766 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.00944, allocations: 92.81 kB / 331.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.009453, allocations: 7.938 kB / 331.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.009481, allocations: 34.55 kB / 331.4 MB, free: 9.621 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.009482, allocations: 0 / 331.4 MB, free: 9.621 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004455/0.009928, allocations: 184.8 kB / 331.5 MB, free: 9.438 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.009962, allocations: 55.34 kB / 331.6 MB, free: 9.371 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.01009, allocations: 157.3 kB / 331.7 MB, free: 9.207 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.0101, allocations: 25.7 kB / 331.8 MB, free: 9.176 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.498e-05/0.01018, allocations: 144.2 kB / 331.9 MB, free: 9.027 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.01021, allocations: 51.56 kB / 332 MB, free: 8.977 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-05/0.01028, allocations: 33.67 kB / 332 MB, free: 8.938 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.712e-05/0.01037, allocations: 330.8 kB / 332.3 MB, free: 8.605 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.0105, allocations: 47.97 kB / 332.4 MB, free: 8.559 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.01062, allocations: 65.69 kB / 332.4 MB, free: 8.488 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.01085, allocations: 128.8 kB / 332.5 MB, free: 8.359 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.01085, allocations: 4 kB / 332.6 MB, free: 8.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003112/0.01116, allocations: 169.5 kB / 332.7 MB, free: 8.184 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.01118, allocations: 4 kB / 332.7 MB, free: 8.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01118, allocations: 4 kB / 332.7 MB, free: 8.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.0112, allocations: 0 / 332.7 MB, free: 8.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.01139, allocations: 47.91 kB / 332.8 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.0114, allocations: 0 / 332.8 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.724e-05/0.01147, allocations: 15.89 kB / 332.8 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.01149, allocations: 12.03 kB / 332.8 MB, free: 8.102 MB / 298.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 9.612e-05/0.01158, allocations: 129.8 kB / 332.9 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.01162, allocations: 11.91 kB / 332.9 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.01165, allocations: 16.78 kB / 333 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.01165, allocations: 0 / 333 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.01166, allocations: 0 / 333 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01166, allocations: 0 / 333 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.01188, allocations: 189.2 kB / 333.1 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.01188, allocations: 0 / 333.1 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.01207, allocations: 35.92 kB / 333.2 MB, free: 7.691 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.01207, allocations: 4 kB / 333.2 MB, free: 7.688 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.01208, allocations: 7.922 kB / 333.2 MB, free: 7.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.01209, allocations: 4 kB / 333.2 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.01209, allocations: 4 kB / 333.2 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004197/0.01251, allocations: 299.3 kB / 333.5 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/0.01253, allocations: 15.89 kB / 333.5 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.01255, allocations: 0 / 333.5 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.01269, allocations: 20.03 kB / 333.5 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.01273, allocations: 11.92 kB / 333.5 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-06/0.01274, allocations: 4 kB / 333.5 MB, free: 7.312 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.65e-05/0.01282, allocations: 118.5 kB / 333.7 MB, free: 7.199 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01282, allocations: 0 / 333.7 MB, free: 7.199 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002777/0.01309, allocations: 47.89 kB / 333.7 MB, free: 7.152 MB / 298.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.551e-05/0.01319, allocations: 95.25 kB / 333.8 MB, free: 7.047 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002679/0.01346, allocations: 127.8 kB / 333.9 MB, free: 6.922 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.01346, allocations: 0 / 333.9 MB, free: 6.922 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.01357, allocations: 55.91 kB / 334 MB, free: 6.867 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.01388, allocations: 26.89 kB / 334 MB, free: 6.844 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008147/0.01469, allocations: 459.8 kB / 334.4 MB, free: 6.363 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.81e-05/0.01478, allocations: 116.1 kB / 334.6 MB, free: 6.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.423e-05/0.01483, allocations: 20.5 kB / 334.6 MB, free: 6.211 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01483, allocations: 0 / 334.6 MB, free: 6.211 MB / 298.7 MB Notification: Performance of Templates: time 0.003549/0.01838, allocations: 2.048 MB / 336.6 MB, free: 4.168 MB / 298.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[51300]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.385979590006173]