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.002531/0.002531, allocations: 103.5 kB / 20.96 MB, free: 3.453 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.002905/0.002905, allocations: 156.8 kB / 24.27 MB, free: 156 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.527/1.527, allocations: 177 MB / 204.5 MB, free: 5.613 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.914e-06/1.914e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.908e-05, allocations: 2.312 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003757/0.003786, allocations: 2.139 MB / 274.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.005252, allocations: 0.5608 MB / 274.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.005364, allocations: 4 kB / 274.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.005524, allocations: 31.7 kB / 274.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.005655, allocations: 59.48 kB / 275 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.005863, allocations: 51.86 kB / 275.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000342/0.006205, allocations: 242.8 kB / 275.3 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.006385, allocations: 61.77 kB / 275.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.006588, allocations: 131.8 kB / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.006736, allocations: 67.84 kB / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.669e-05/0.006783, allocations: 24 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.459e-05/0.006827, allocations: 20 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.999e-05/0.006887, allocations: 43.83 kB / 275.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.006989, allocations: 71.83 kB / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.007344, allocations: 255.2 kB / 276 MB, free: 14.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.007348, allocations: 0 / 276 MB, free: 14.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.007349, allocations: 4 kB / 276 MB, free: 14.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.007355, allocations: 0 / 276 MB, free: 14.02 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.0009247/0.008279, allocations: 0.519 MB / 276.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.008329, allocations: 15.97 kB / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.992e-05/0.008429, allocations: 36.8 kB / 276.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.00872, allocations: 160.4 kB / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.008747, allocations: 12.38 kB / 276.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.217e-05/0.008799, allocations: 28.27 kB / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004397/0.009239, allocations: 221.6 kB / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.009253, allocations: 192 / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.009279, allocations: 8.375 kB / 276.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.009291, allocations: 7.938 kB / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.009619, allocations: 131.9 kB / 277.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.01096, allocations: 0.7232 MB / 277.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.01137, allocations: 154.9 kB / 278 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.01155, allocations: 83.66 kB / 278 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.01157, allocations: 8 kB / 278 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.01161, allocations: 33.39 kB / 278.1 MB, free: 11.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.01161, allocations: 3.938 kB / 278.1 MB, free: 11.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005036/0.01211, allocations: 177.8 kB / 278.3 MB, free: 11.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.01217, allocations: 59.34 kB / 278.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.01238, allocations: 221.1 kB / 278.5 MB, free: 11.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.01241, allocations: 25.7 kB / 278.6 MB, free: 11.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.01255, allocations: 187 kB / 278.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.003e-05/0.01261, allocations: 59.52 kB / 278.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.852e-05/0.01269, allocations: 43.38 kB / 278.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003042/0.01299, allocations: 0.5 MB / 279.3 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.01312, allocations: 51.97 kB / 279.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.01327, allocations: 71.34 kB / 279.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/0.01353, allocations: 123.3 kB / 279.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01353, allocations: 0 / 279.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003635/0.01389, allocations: 184.7 kB / 279.8 MB, free: 9.977 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.01391, allocations: 4 kB / 279.8 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.01391, allocations: 0 / 279.8 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.01394, allocations: 4 kB / 279.8 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.01417, allocations: 47.91 kB / 279.8 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.01418, allocations: 0 / 279.8 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.764e-05/0.01428, allocations: 11.89 kB / 279.8 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.01429, allocations: 8 kB / 279.8 MB, free: 9.902 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.0001524/0.01444, allocations: 172.5 kB / 280 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.01449, allocations: 19.95 kB / 280 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5e-05/0.01454, allocations: 20.77 kB / 280 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01454, allocations: 3.938 kB / 280 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.01455, allocations: 0 / 280 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.01455, allocations: 0 / 280 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.01485, allocations: 204.5 kB / 280.2 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.01485, allocations: 0 / 280.2 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.01507, allocations: 39.97 kB / 280.3 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.01507, allocations: 3.984 kB / 280.3 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.01508, allocations: 0 / 280.3 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.01509, allocations: 4 kB / 280.3 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01509, allocations: 7.938 kB / 280.3 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005454/0.01563, allocations: 355.6 kB / 280.7 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.149e-05/0.01566, allocations: 19.84 kB / 280.7 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.01569, allocations: 0 / 280.7 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.01584, allocations: 11.98 kB / 280.7 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.01589, allocations: 11.98 kB / 280.7 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.0159, allocations: 8 kB / 280.7 MB, free: 8.973 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001258/0.01603, allocations: 159.2 kB / 280.9 MB, free: 8.816 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01603, allocations: 0 / 280.9 MB, free: 8.816 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002696/0.0163, allocations: 47.89 kB / 280.9 MB, free: 8.77 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.0001264/0.01642, allocations: 99.23 kB / 281 MB, free: 8.664 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003211/0.01674, allocations: 126.8 kB / 281.1 MB, free: 8.539 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01675, allocations: 0 / 281.1 MB, free: 8.539 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.01689, allocations: 75.59 kB / 281.2 MB, free: 8.461 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.01719, allocations: 23.98 kB / 281.2 MB, free: 8.438 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.01836, allocations: 446.3 kB / 281.7 MB, free: 7.973 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.01849, allocations: 112.1 kB / 281.8 MB, free: 7.836 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.424e-05/0.01856, allocations: 17.12 kB / 281.8 MB, free: 7.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.756e-05/0.0186, allocations: 16.5 kB / 281.8 MB, free: 7.805 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.0186, allocations: 0 / 281.8 MB, free: 7.805 MB / 266.7 MB Notification: Performance of Templates: time 0.005156/0.02376, allocations: 1.559 MB / 283.4 MB, free: 6.266 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","/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.586460051941685]