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.001313/0.001313, allocations: 113 kB / 21.18 MB, free: 0.5898 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.00145/0.00145, allocations: 209.7 kB / 24.47 MB, free: 3.996 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.424/1.424, allocations: 230.5 MB / 258.1 MB, free: 8.129 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.001861/0.001861, allocations: 75.8 kB / 378.8 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2652, allocations: 53.3 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003629/0.2689, allocations: 2.164 MB / 434.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.27, allocations: 0.5844 MB / 434.8 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.2701, allocations: 11.88 kB / 434.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.2702, allocations: 31.7 kB / 434.8 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.2704, allocations: 59.48 kB / 434.9 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.2706, allocations: 51.92 kB / 435 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002906/0.2708, allocations: 223.1 kB / 435.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.271, allocations: 61.59 kB / 435.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.2711, allocations: 87.7 kB / 435.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.2713, allocations: 103.6 kB / 435.4 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.2713, allocations: 24 kB / 435.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.413e-05/0.2714, allocations: 20 kB / 435.5 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.052e-05/0.2714, allocations: 43.83 kB / 435.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.2715, allocations: 103.6 kB / 435.6 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.2718, allocations: 237 kB / 435.8 MB, free: 3.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.2719, allocations: 4 kB / 435.8 MB, free: 3.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2719, allocations: 0 / 435.8 MB, free: 3.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.2719, allocations: 0 / 435.8 MB, free: 3.566 MB / 334.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.0008723/0.2727, allocations: 498.6 kB / 436.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.2728, allocations: 8.031 kB / 436.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.863e-05/0.2728, allocations: 24.8 kB / 436.4 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.2732, allocations: 220 kB / 436.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.2732, allocations: 12.38 kB / 436.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.605e-05/0.2732, allocations: 20.38 kB / 436.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003731/0.2736, allocations: 189.8 kB / 436.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2736, allocations: 0 / 436.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.2737, allocations: 8 kB / 436.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.2737, allocations: 4 kB / 436.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.274, allocations: 139.9 kB / 436.9 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.2752, allocations: 0.7509 MB / 437.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/0.2756, allocations: 154.5 kB / 437.8 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.2758, allocations: 88.81 kB / 437.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.2758, allocations: 0 / 437.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.2759, allocations: 42.56 kB / 438 MB, free: 1.254 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.2759, allocations: 0 / 438 MB, free: 1.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.000489/0.2764, allocations: 184.2 kB / 438.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.2764, allocations: 59.34 kB / 438.2 MB, free: 1 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.2766, allocations: 152.8 kB / 438.4 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.2766, allocations: 29.7 kB / 438.4 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.2767, allocations: 136.3 kB / 438.5 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.006e-05/0.2767, allocations: 47.58 kB / 438.6 MB, free: 0.625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.2768, allocations: 33.7 kB / 438.6 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.277, allocations: 334.7 kB / 438.9 MB, free: 256 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.2771, allocations: 55.92 kB / 439 MB, free: 200 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.2772, allocations: 68.95 kB / 439 MB, free: 128 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.2775, allocations: 128.7 kB / 439.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2775, allocations: 4 kB / 439.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003419/0.2778, allocations: 173.4 kB / 439.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.2779, allocations: 4 kB / 439.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.2779, allocations: 4 kB / 439.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.2779, allocations: 3.938 kB / 439.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.2781, allocations: 39.98 kB / 439.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.2781, allocations: 7.922 kB / 439.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.2782, allocations: 15.89 kB / 439.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.2782, allocations: 12.03 kB / 439.4 MB, free: 15.73 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 0.0001179/0.2783, allocations: 117.8 kB / 439.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.2784, allocations: 15.91 kB / 439.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.247e-05/0.2784, allocations: 24.77 kB / 439.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.2784, allocations: 0 / 439.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.2784, allocations: 0 / 439.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.2784, allocations: 0 / 439.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/0.2787, allocations: 261.5 kB / 439.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2787, allocations: 4 kB / 439.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.279, allocations: 43.91 kB / 439.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.279, allocations: 0 / 439.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.279, allocations: 7.938 kB / 439.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.279, allocations: 0 / 439.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.279, allocations: 4 kB / 439.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005013/0.2795, allocations: 291.4 kB / 440.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.86e-05/0.2795, allocations: 101 kB / 440.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.2796, allocations: 15.88 kB / 440.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.2797, allocations: 12 kB / 440.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.2798, allocations: 11.98 kB / 440.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.2798, allocations: 0 / 440.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.2799, allocations: 115.2 kB / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2799, allocations: 4 kB / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.2802, allocations: 47.83 kB / 440.5 MB, free: 14.58 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.0001279/0.2803, allocations: 107.2 kB / 440.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003305/0.2806, allocations: 123.9 kB / 440.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2806, allocations: 0 / 440.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.2807, allocations: 58.53 kB / 440.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.2811, allocations: 31.98 kB / 440.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.2822, allocations: 0.554 MB / 441.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.2826, allocations: 0.724 MB / 442.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.2826, allocations: 15.44 kB / 442.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2826, allocations: 0 / 442.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of Templates: time 0.004315/0.2869, allocations: 2.037 MB / 444.1 MB, free: 10.88 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.959004081320018]