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.001748/0.001748, allocations: 109.1 kB / 21.18 MB, free: 0.7773 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.001954/0.001954, allocations: 209.5 kB / 24.49 MB, free: 4.164 MB / 14.72 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 1.45/1.45, allocations: 230.5 MB / 258.1 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002426/0.002426, allocations: 71.88 kB / 379 MB, free: 2.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2799, allocations: 53.41 MB / 432.4 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003943/0.2838, allocations: 2.164 MB / 434.6 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.2851, allocations: 0.5805 MB / 435.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.2852, allocations: 7.938 kB / 435.2 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.2854, allocations: 35.72 kB / 435.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.2855, allocations: 59.42 kB / 435.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.2858, allocations: 51.92 kB / 435.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000336/0.2861, allocations: 231.1 kB / 435.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.2863, allocations: 53.78 kB / 435.6 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.2864, allocations: 99.64 kB / 435.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.2866, allocations: 95.61 kB / 435.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.2867, allocations: 20 kB / 435.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.356e-05/0.2867, allocations: 27.94 kB / 435.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.172e-05/0.2868, allocations: 47.84 kB / 435.9 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.2869, allocations: 99.58 kB / 436 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.2872, allocations: 236.3 kB / 436.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2872, allocations: 0 / 436.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2872, allocations: 0 / 436.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.2872, allocations: 0 / 436.2 MB, free: 2.98 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.0008423/0.2881, allocations: 425.5 kB / 436.7 MB, free: 2.535 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2881, allocations: 12.03 kB / 436.7 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.756e-05/0.2882, allocations: 24.73 kB / 436.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.2885, allocations: 170.2 kB / 436.9 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.2885, allocations: 12.38 kB / 436.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/0.2886, allocations: 20.38 kB / 436.9 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.289, allocations: 177.8 kB / 437.1 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.289, allocations: 8 kB / 437.1 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.289, allocations: 8 kB / 437.1 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.289, allocations: 4 kB / 437.1 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003308/0.2893, allocations: 139.9 kB / 437.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.2907, allocations: 0.7032 MB / 437.9 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004131/0.2911, allocations: 158.5 kB / 438.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.2913, allocations: 84.83 kB / 438.2 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.2913, allocations: 0 / 438.2 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.2913, allocations: 38.56 kB / 438.2 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.2913, allocations: 0 / 438.2 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004884/0.2918, allocations: 177.8 kB / 438.4 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.2919, allocations: 67.34 kB / 438.4 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.292, allocations: 157.4 kB / 438.6 MB, free: 472 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.2921, allocations: 25.7 kB / 438.6 MB, free: 440 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.2922, allocations: 136.2 kB / 438.7 MB, free: 300 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.666e-05/0.2922, allocations: 55.5 kB / 438.8 MB, free: 244 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.166e-05/0.2923, allocations: 29.72 kB / 438.8 MB, free: 208 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.2925, allocations: 322.8 kB / 439.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.2926, allocations: 63.86 kB / 439.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.2927, allocations: 68.44 kB / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.293, allocations: 128.3 kB / 439.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.293, allocations: 0 / 439.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003532/0.2934, allocations: 173.5 kB / 439.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.2934, allocations: 8 kB / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2934, allocations: 0 / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.2934, allocations: 3.938 kB / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.2936, allocations: 51.84 kB / 439.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2936, allocations: 4 kB / 439.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.2937, allocations: 11.89 kB / 439.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.2938, allocations: 8 kB / 439.7 MB, free: 15.36 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.0001229/0.2939, allocations: 129.9 kB / 439.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.2939, allocations: 11.91 kB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.117e-05/0.294, allocations: 20.72 kB / 439.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-06/0.294, allocations: 0 / 439.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.294, allocations: 0 / 439.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.294, allocations: 0 / 439.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003349/0.2943, allocations: 232.6 kB / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2943, allocations: 0 / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.2945, allocations: 39.91 kB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2945, allocations: 0 / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.2945, allocations: 15.94 kB / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2945, allocations: 0 / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2946, allocations: 0 / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005106/0.2951, allocations: 299 kB / 440.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/0.2951, allocations: 15.84 kB / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.2951, allocations: 7.938 kB / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.2953, allocations: 15.98 kB / 440.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.2953, allocations: 11.98 kB / 440.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.2953, allocations: 8 kB / 440.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.2954, allocations: 119.2 kB / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2954, allocations: 0 / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002852/0.2957, allocations: 51.83 kB / 440.6 MB, free: 14.33 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.0001255/0.2959, allocations: 95.25 kB / 440.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003263/0.2962, allocations: 123.9 kB / 440.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2962, allocations: 0 / 440.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.2963, allocations: 55.92 kB / 440.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.2967, allocations: 27.97 kB / 440.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.2978, allocations: 0.5554 MB / 441.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.2982, allocations: 0.724 MB / 442.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.2982, allocations: 15.44 kB / 442.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2982, allocations: 0 / 442.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of Templates: time 0.004434/0.3027, allocations: 2.035 MB / 444.2 MB, free: 10.65 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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[51300]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.397101526148617]