Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001868/0.001868, allocations: 120.7 kB / 19.18 MB, free: 3.906 MB / 14.72 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.002193/0.002193, allocations: 202.6 kB / 22.12 MB, free: 0.9648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.428/1.428, allocations: 230.4 MB / 255.4 MB, free: 14.99 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 71.83 kB / 374.8 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0987/0.1006, allocations: 53.31 MB / 428.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003714/0.1044, allocations: 2.172 MB / 430.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.1054, allocations: 0.5649 MB / 430.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.669e-05/0.1055, allocations: 4 kB / 430.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.1056, allocations: 39.64 kB / 430.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.1057, allocations: 51.55 kB / 430.9 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.1059, allocations: 59.88 kB / 431 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.1062, allocations: 231 kB / 431.2 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.1063, allocations: 57.64 kB / 431.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.1065, allocations: 91.77 kB / 431.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.1066, allocations: 91.61 kB / 431.4 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/0.1066, allocations: 27.94 kB / 431.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.397e-05/0.1067, allocations: 20 kB / 431.5 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.66e-05/0.1067, allocations: 47.83 kB / 431.5 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.1068, allocations: 103.5 kB / 431.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.1071, allocations: 235.1 kB / 431.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1071, allocations: 0 / 431.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1071, allocations: 4 kB / 431.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1071, allocations: 0 / 431.8 MB, free: 0.5312 MB / 350.1 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.0008361/0.1079, allocations: 494.6 kB / 432.3 MB, free: 0 / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.1699/0.2779, allocations: 7.234 kB / 432.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.278, allocations: 24.48 kB / 432.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.2783, allocations: 220.4 kB / 432.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.2783, allocations: 10.41 kB / 432.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.552e-05/0.2783, allocations: 22.23 kB / 432.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.2787, allocations: 183.6 kB / 432.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.2787, allocations: 0 / 432.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.2787, allocations: 12.94 kB / 432.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.2787, allocations: 3.531 kB / 432.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002996/0.279, allocations: 142.5 kB / 432.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.2801, allocations: 0.7406 MB / 433.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.2804, allocations: 151 kB / 433.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.2806, allocations: 90.86 kB / 433.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.2806, allocations: 5.25 kB / 433.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.2806, allocations: 33.03 kB / 434 MB, free: 10.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.2806, allocations: 1.5 kB / 434 MB, free: 10.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004382/0.2811, allocations: 187.2 kB / 434.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.2811, allocations: 53.59 kB / 434.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.2812, allocations: 153.6 kB / 434.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.2812, allocations: 28.95 kB / 434.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.2812, allocations: 134.6 kB / 434.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.2813, allocations: 49.42 kB / 434.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.548e-05/0.2813, allocations: 37.42 kB / 434.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.209e-05/0.2814, allocations: 324.9 kB / 434.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.2815, allocations: 52.39 kB / 435 MB, free: 10.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.2817, allocations: 77.86 kB / 435 MB, free: 10.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.282, allocations: 121.6 kB / 435.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.282, allocations: 3.188 kB / 435.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004316/0.2825, allocations: 174.3 kB / 435.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.2825, allocations: 8.844 kB / 435.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.2825, allocations: 2.062 kB / 435.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.2825, allocations: 4.125 kB / 435.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.2828, allocations: 47.72 kB / 435.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.2828, allocations: 2.781 kB / 435.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.283, allocations: 16.31 kB / 435.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.283, allocations: 11.42 kB / 435.4 MB, free: 9.973 MB / 350.1 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.943e-05/0.2831, allocations: 127 kB / 435.5 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.2831, allocations: 14.84 kB / 435.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.772e-05/0.2832, allocations: 17.44 kB / 435.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.2832, allocations: 6.625 kB / 435.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2832, allocations: 0 / 435.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2832, allocations: 2.062 kB / 435.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.2834, allocations: 268.3 kB / 435.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2834, allocations: 0.5625 kB / 435.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/0.2837, allocations: 37.8 kB / 435.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.2837, allocations: 1.094 kB / 435.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.2837, allocations: 6.766 kB / 435.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.2837, allocations: 4.812 kB / 435.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2837, allocations: 1.312 kB / 435.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006122/0.2844, allocations: 297.5 kB / 436.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.2844, allocations: 92.27 kB / 436.3 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.2844, allocations: 1.969 kB / 436.3 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.2847, allocations: 19.47 kB / 436.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.2847, allocations: 12.64 kB / 436.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.2847, allocations: 7.219 kB / 436.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.394e-05/0.2848, allocations: 118.2 kB / 436.4 MB, free: 9.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2848, allocations: 0 / 436.4 MB, free: 9.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004805/0.2853, allocations: 48.05 kB / 436.5 MB, free: 9.32 MB / 350.1 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.0001242/0.2854, allocations: 111 kB / 436.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004103/0.2858, allocations: 116.7 kB / 436.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2858, allocations: 1.062 kB / 436.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.286, allocations: 65.59 kB / 436.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.2865, allocations: 26.67 kB / 436.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.2877, allocations: 0.5353 MB / 437.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.2878, allocations: 0.7224 MB / 438 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.743e-05/0.2879, allocations: 16.5 kB / 438.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2879, allocations: 0 / 438.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of Templates: time 0.004891/0.2928, allocations: 2.039 MB / 440.1 MB, free: 7.988 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] "" Variables in the reference:time,C1.v,C2.v,L.i Variables in the result:C1.v,C2.v,L.i,time [Calling sys.exit(0), Time elapsed: 7.767000737017952]