Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002054/0.002054, allocations: 169.3 kB / 24.28 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.991e-05/3.191e-05, allocations: 6.25 kB / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003978/0.00401, allocations: 2.144 MB / 274.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.005113, allocations: 0.5531 MB / 275 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.993e-05/0.005203, allocations: 4 kB / 275 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.00534, allocations: 31.7 kB / 275.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.005474, allocations: 55.48 kB / 275.1 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.005663, allocations: 59.91 kB / 275.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.00597, allocations: 234.9 kB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.006134, allocations: 57.77 kB / 275.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.006335, allocations: 135.7 kB / 275.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.006497, allocations: 71.84 kB / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.257e-05/0.00654, allocations: 20 kB / 275.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.527e-05/0.006585, allocations: 20 kB / 275.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.893e-05/0.006644, allocations: 47.83 kB / 275.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.006757, allocations: 79.81 kB / 275.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.007112, allocations: 251.2 kB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.007115, allocations: 4 kB / 276.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.007116, allocations: 0 / 276.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.007122, allocations: 0 / 276.1 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.0009049/0.008027, allocations: 0.5151 MB / 276.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.008063, allocations: 8.031 kB / 276.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.077e-05/0.008154, allocations: 40.8 kB / 276.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.008426, allocations: 160.4 kB / 276.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.008449, allocations: 12.38 kB / 276.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.014e-05/0.008499, allocations: 28.31 kB / 276.8 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004113/0.00891, allocations: 225.5 kB / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.008924, allocations: 4.125 kB / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.008945, allocations: 4.375 kB / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.008954, allocations: 7.938 kB / 277.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000328/0.009282, allocations: 131.9 kB / 277.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.01065, allocations: 0.7232 MB / 277.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003961/0.01105, allocations: 151.1 kB / 278.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.01125, allocations: 87.59 kB / 278.2 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.01127, allocations: 4 kB / 278.2 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.0113, allocations: 41.39 kB / 278.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.01131, allocations: 0 / 278.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004732/0.01178, allocations: 180.8 kB / 278.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.01182, allocations: 55.41 kB / 278.4 MB, free: 11.51 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.01204, allocations: 217.1 kB / 278.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.01207, allocations: 33.7 kB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.01222, allocations: 187 kB / 278.9 MB, free: 11.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.01228, allocations: 55.52 kB / 278.9 MB, free: 11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.009e-05/0.01236, allocations: 39.38 kB / 279 MB, free: 10.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002886/0.01265, allocations: 0.504 MB / 279.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.01278, allocations: 51.91 kB / 279.5 MB, free: 10.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.01292, allocations: 71.34 kB / 279.6 MB, free: 10.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.0132, allocations: 125.1 kB / 279.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.0132, allocations: 4 kB / 279.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003721/0.01357, allocations: 181.4 kB / 279.9 MB, free: 9.996 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.01359, allocations: 4 kB / 279.9 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01359, allocations: 4 kB / 279.9 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.0136, allocations: 0 / 279.9 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.01383, allocations: 39.97 kB / 279.9 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.01384, allocations: 7.922 kB / 279.9 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.01394, allocations: 15.89 kB / 280 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.01395, allocations: 8.031 kB / 280 MB, free: 9.918 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.0001668/0.01412, allocations: 176.5 kB / 280.1 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.01417, allocations: 11.95 kB / 280.1 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.01421, allocations: 20.77 kB / 280.2 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01422, allocations: 0 / 280.2 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.01422, allocations: 0 / 280.2 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.01422, allocations: 0 / 280.2 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.01453, allocations: 216.5 kB / 280.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01454, allocations: 0 / 280.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.01475, allocations: 35.92 kB / 280.4 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.01476, allocations: 4 kB / 280.4 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.01477, allocations: 4 kB / 280.4 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.01478, allocations: 0 / 280.4 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.01478, allocations: 0 / 280.4 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000775/0.01555, allocations: 355.7 kB / 280.8 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.01558, allocations: 15.84 kB / 280.8 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.0156, allocations: 4 kB / 280.8 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.01575, allocations: 11.98 kB / 280.8 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.0158, allocations: 11.98 kB / 280.8 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.01581, allocations: 8 kB / 280.8 MB, free: 8.996 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001328/0.01595, allocations: 159.1 kB / 281 MB, free: 8.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01595, allocations: 0 / 281 MB, free: 8.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002853/0.01623, allocations: 47.89 kB / 281 MB, free: 8.793 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.0001342/0.01637, allocations: 99.25 kB / 281.1 MB, free: 8.688 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003326/0.0167, allocations: 133.2 kB / 281.2 MB, free: 8.559 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.0167, allocations: 4.062 kB / 281.2 MB, free: 8.555 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.01685, allocations: 70.86 kB / 281.3 MB, free: 8.484 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.01718, allocations: 31.92 kB / 281.3 MB, free: 8.453 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.01818, allocations: 450.3 kB / 281.8 MB, free: 7.984 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.01831, allocations: 108.1 kB / 281.9 MB, free: 7.852 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.439e-05/0.01837, allocations: 13.14 kB / 281.9 MB, free: 7.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.01842, allocations: 12.5 kB / 281.9 MB, free: 7.828 MB / 266.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01843, allocations: 0 / 281.9 MB, free: 7.828 MB / 266.7 MB Notification: Performance of Templates: time 0.005361/0.02379, allocations: 1.567 MB / 283.5 MB, free: 6.285 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.541539837955497]