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.001055/0.001055, allocations: 83.67 kB / 21.7 MB, free: 2.848 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.001055/0.001055, allocations: 165.6 kB / 24.99 MB, free: 9.23 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.9733/0.9733, allocations: 177 MB / 205.2 MB, free: 5.598 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.182e-06/1.182e-06, allocations: 0 / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.242e-05, allocations: 2.312 kB / 273 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002436/0.002458, allocations: 2.178 MB / 275.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007006/0.003159, allocations: 0.5493 MB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.431e-05/0.003243, allocations: 7.938 kB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.003355, allocations: 39.7 kB / 275.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.45e-05/0.00343, allocations: 55.42 kB / 275.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.003585, allocations: 55.92 kB / 275.9 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.003789, allocations: 238.9 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.003925, allocations: 53.77 kB / 276.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.004047, allocations: 135.8 kB / 276.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.773e-05/0.004145, allocations: 71.78 kB / 276.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.004175, allocations: 20 kB / 276.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.271e-05/0.004197, allocations: 28 kB / 276.4 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.35e-05/0.004231, allocations: 43.83 kB / 276.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.095e-05/0.004292, allocations: 71.89 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.004461, allocations: 167.3 kB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.004463, allocations: 0 / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.004464, allocations: 0 / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.004469, allocations: 0 / 276.7 MB, free: 14.04 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.0004931/0.004962, allocations: 0.5115 MB / 277.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.004996, allocations: 11.98 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.637e-05/0.005053, allocations: 36.84 kB / 277.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.005222, allocations: 168.3 kB / 277.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.005243, allocations: 16.38 kB / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.00527, allocations: 16.38 kB / 277.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.005489, allocations: 198.2 kB / 277.6 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.005496, allocations: 192 / 277.6 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.005511, allocations: 4.375 kB / 277.7 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.005521, allocations: 19.88 kB / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.005637, allocations: 71.88 kB / 277.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006844/0.006321, allocations: 0.649 MB / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.006495, allocations: 119 kB / 278.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.869e-05/0.006583, allocations: 59.67 kB / 278.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.006593, allocations: 0 / 278.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.006614, allocations: 37.39 kB / 278.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.006615, allocations: 3.938 kB / 278.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002151/0.00683, allocations: 129.8 kB / 278.7 MB, free: 11.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.006857, allocations: 59.41 kB / 278.8 MB, free: 11.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.858e-05/0.006956, allocations: 191.3 kB / 279 MB, free: 11.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.00697, allocations: 33.7 kB / 279 MB, free: 11.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/0.007036, allocations: 187 kB / 279.2 MB, free: 11.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.007064, allocations: 51.53 kB / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.007109, allocations: 43.36 kB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.007216, allocations: 0.4922 MB / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.171e-05/0.007257, allocations: 23.98 kB / 279.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.345e-05/0.007311, allocations: 50.11 kB / 279.8 MB, free: 10.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.395e-05/0.007405, allocations: 85.95 kB / 279.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.007407, allocations: 0 / 279.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000145/0.007552, allocations: 129.4 kB / 280.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.007565, allocations: 12.03 kB / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.007569, allocations: 0 / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.007581, allocations: 3.938 kB / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.00771, allocations: 43.97 kB / 280.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.007715, allocations: 0 / 280.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.00776, allocations: 15.89 kB / 280.1 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.007766, allocations: 4 kB / 280.1 MB, free: 10.35 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 6.899e-05/0.007835, allocations: 168.5 kB / 280.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.00786, allocations: 15.95 kB / 280.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.754e-05/0.007887, allocations: 28.77 kB / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.007889, allocations: 0 / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.007892, allocations: 0 / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.007895, allocations: 4 kB / 280.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.008039, allocations: 184.5 kB / 280.5 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.008039, allocations: 0 / 280.5 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.008143, allocations: 35.97 kB / 280.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.008144, allocations: 0 / 280.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.008153, allocations: 3.938 kB / 280.6 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.008155, allocations: 4 kB / 280.6 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.008156, allocations: 4 kB / 280.6 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.008365, allocations: 291.2 kB / 280.9 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.00838, allocations: 15.84 kB / 280.9 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.008396, allocations: 4 kB / 280.9 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.926e-05/0.008465, allocations: 11.98 kB / 280.9 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.0085, allocations: 7.984 kB / 280.9 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.008506, allocations: 4 kB / 280.9 MB, free: 9.516 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.849e-05/0.008565, allocations: 151.2 kB / 281.1 MB, free: 9.367 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008565, allocations: 0 / 281.1 MB, free: 9.367 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001692/0.008734, allocations: 51.89 kB / 281.1 MB, free: 9.316 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 6.539e-05/0.0088, allocations: 99.19 kB / 281.2 MB, free: 9.211 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.008934, allocations: 89.48 kB / 281.3 MB, free: 9.125 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.008936, allocations: 0 / 281.3 MB, free: 9.125 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.788e-05/0.008984, allocations: 47.67 kB / 281.3 MB, free: 9.074 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.00918, allocations: 23.92 kB / 281.4 MB, free: 9.051 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007345/0.009915, allocations: 462.2 kB / 281.8 MB, free: 8.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.961e-05/0.009954, allocations: 75.84 kB / 281.9 MB, free: 8.477 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.94e-05/0.009994, allocations: 9.141 kB / 281.9 MB, free: 8.469 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.01003, allocations: 16.5 kB / 281.9 MB, free: 8.453 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01003, allocations: 0 / 281.9 MB, free: 8.453 MB / 266.7 MB Notification: Performance of Templates: time 0.002848/0.01288, allocations: 1.569 MB / 283.5 MB, free: 6.902 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","",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[50204]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.838636768050492]