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.0008162/0.0008162, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.001847, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006959/0.0006959, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008114/0.001507, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9353/0.9353, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08853/1.024, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.673e-06/1.673e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.214e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002311/0.002333, allocations: 2.217 MB / 247.2 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007455/0.003079, allocations: 0.5762 MB / 247.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.706e-05/0.003156, allocations: 4 kB / 247.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.965e-05/0.003225, allocations: 27.72 kB / 247.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.231e-05/0.003308, allocations: 59.47 kB / 247.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001179/0.003425, allocations: 51.92 kB / 248 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.003612, allocations: 238.9 kB / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.003735, allocations: 58.42 kB / 248.2 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.003889, allocations: 151.7 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.003996, allocations: 75.78 kB / 248.5 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.286e-05/0.004029, allocations: 20 kB / 248.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.321e-05/0.004052, allocations: 24 kB / 248.5 MB, free: 10.13 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.966e-05/0.004082, allocations: 31.88 kB / 248.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.845e-05/0.00414, allocations: 59.94 kB / 248.6 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.004366, allocations: 139.5 kB / 248.7 MB, free: 9.902 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.188e-05/0.004388, allocations: 4 kB / 248.7 MB, free: 9.898 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.00439, allocations: 0 / 248.7 MB, free: 9.898 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.515e-05/0.004415, allocations: 0 / 248.7 MB, free: 9.898 MB / 250.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.000568/0.004983, allocations: 439.7 kB / 249.2 MB, free: 9.445 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.005015, allocations: 8.625 kB / 249.2 MB, free: 9.438 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.005062, allocations: 28.91 kB / 249.2 MB, free: 9.41 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.005221, allocations: 145.5 kB / 249.4 MB, free: 9.242 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.005248, allocations: 16.38 kB / 249.4 MB, free: 9.227 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.005275, allocations: 16.38 kB / 249.4 MB, free: 9.211 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.005489, allocations: 198.1 kB / 249.6 MB, free: 8.996 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.005499, allocations: 192 / 249.6 MB, free: 8.996 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.005514, allocations: 12.36 kB / 249.6 MB, free: 8.984 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.005522, allocations: 11.94 kB / 249.6 MB, free: 8.973 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.666e-05/0.005589, allocations: 51.86 kB / 249.7 MB, free: 8.922 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006259/0.006215, allocations: 0.505 MB / 250.2 MB, free: 8.383 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.00636, allocations: 90.52 kB / 250.2 MB, free: 8.285 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.418e-05/0.006415, allocations: 44.84 kB / 250.3 MB, free: 8.238 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.006426, allocations: 4 kB / 250.3 MB, free: 8.234 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.006452, allocations: 42.5 kB / 250.3 MB, free: 8.184 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.006454, allocations: 0 / 250.3 MB, free: 8.184 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001547/0.006609, allocations: 93.91 kB / 250.4 MB, free: 8.086 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.006637, allocations: 55.41 kB / 250.5 MB, free: 8.02 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.126e-05/0.006718, allocations: 157.9 kB / 250.6 MB, free: 7.855 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.006731, allocations: 25.7 kB / 250.7 MB, free: 7.824 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.006784, allocations: 128.2 kB / 250.8 MB, free: 7.691 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.006816, allocations: 55.52 kB / 250.8 MB, free: 7.637 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.006861, allocations: 33.69 kB / 250.9 MB, free: 7.598 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.552e-05/0.006937, allocations: 326.8 kB / 251.2 MB, free: 7.27 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.196e-05/0.006959, allocations: 12 kB / 251.2 MB, free: 7.258 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.53e-05/0.006994, allocations: 37.64 kB / 251.2 MB, free: 7.215 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.253e-05/0.007056, allocations: 61.61 kB / 251.3 MB, free: 7.148 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.007058, allocations: 4 kB / 251.3 MB, free: 7.145 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 9.997e-05/0.007158, allocations: 93.59 kB / 251.4 MB, free: 7.047 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.007172, allocations: 11.28 kB / 251.4 MB, free: 7.039 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.007177, allocations: 0 / 251.4 MB, free: 7.039 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.007186, allocations: 3.984 kB / 251.4 MB, free: 7.035 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.007417, allocations: 51.97 kB / 251.5 MB, free: 6.984 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.007421, allocations: 4 kB / 251.5 MB, free: 6.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.356e-05/0.007465, allocations: 11.89 kB / 251.5 MB, free: 6.969 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.007473, allocations: 8.031 kB / 251.5 MB, free: 6.961 MB / 250.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 7.187e-05/0.007545, allocations: 125.7 kB / 251.6 MB, free: 6.828 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.007567, allocations: 8 kB / 251.6 MB, free: 6.82 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.007594, allocations: 20.77 kB / 251.6 MB, free: 6.801 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.007597, allocations: 0 / 251.6 MB, free: 6.801 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.007599, allocations: 0 / 251.6 MB, free: 6.801 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.007602, allocations: 3.938 kB / 251.6 MB, free: 6.797 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.00775, allocations: 125.7 kB / 251.8 MB, free: 6.656 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.007753, allocations: 0 / 251.8 MB, free: 6.656 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.007914, allocations: 59.89 kB / 251.8 MB, free: 6.598 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.00793, allocations: 11.89 kB / 251.8 MB, free: 6.586 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.007932, allocations: 0 / 251.8 MB, free: 6.586 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.007939, allocations: 0 / 251.8 MB, free: 6.586 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.007941, allocations: 0 / 251.8 MB, free: 6.586 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.007943, allocations: 3.984 kB / 251.8 MB, free: 6.582 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.008116, allocations: 218.5 kB / 252 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.008129, allocations: 0 / 252 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.397e-05/0.008193, allocations: 15.98 kB / 252.1 MB, free: 6.344 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.008221, allocations: 11.98 kB / 252.1 MB, free: 6.332 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-06/0.008226, allocations: 0 / 252.1 MB, free: 6.332 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.584e-05/0.008252, allocations: 40.08 kB / 252.1 MB, free: 6.293 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008252, allocations: 0 / 252.1 MB, free: 6.293 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001465/0.008398, allocations: 51.84 kB / 252.2 MB, free: 6.242 MB / 250.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 8.37e-05/0.008482, allocations: 80.36 kB / 252.2 MB, free: 6.156 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.008586, allocations: 68.69 kB / 252.3 MB, free: 6.086 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.008594, allocations: 0 / 252.3 MB, free: 6.086 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.716e-05/0.008631, allocations: 40.89 kB / 252.4 MB, free: 6.043 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.008811, allocations: 43.92 kB / 252.4 MB, free: 6 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.01049, allocations: 409.4 kB / 252.8 MB, free: 5.57 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.141e-05/0.01053, allocations: 75.83 kB / 252.9 MB, free: 5.477 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.675e-05/0.01059, allocations: 13.48 kB / 252.9 MB, free: 5.465 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.817e-05/0.01068, allocations: 79.36 kB / 253 MB, free: 5.387 MB / 250.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01068, allocations: 0 / 253 MB, free: 5.387 MB / 250.7 MB Notification: Performance of Templates: time 0.003631/0.01431, allocations: 1.939 MB / 254.9 MB, free: 3.477 MB / 250.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 -ignoreHideResult -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.487065840512514]