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.001951/0.001951, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.002347/0.002347, allocations: 203.3 kB / 23.73 MB, free: 4.379 MB / 14.72 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.638/1.638, allocations: 230.6 MB / 257.5 MB, free: 7.789 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+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 0.001629/0.001629, allocations: 51.92 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2697, allocations: 53.37 MB / 431.6 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003321/0.2731, allocations: 2.035 MB / 433.6 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.2741, allocations: 0.5493 MB / 434.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.2742, allocations: 4 kB / 434.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.2743, allocations: 31.7 kB / 434.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.2745, allocations: 55.48 kB / 434.3 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.2746, allocations: 51.94 kB / 434.3 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.2749, allocations: 239 kB / 434.5 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.2751, allocations: 57.77 kB / 434.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.2752, allocations: 83.77 kB / 434.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.2753, allocations: 99.61 kB / 434.8 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.371e-05/0.2754, allocations: 24 kB / 434.8 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.938e-05/0.2754, allocations: 20 kB / 434.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.914e-05/0.2755, allocations: 47.83 kB / 434.9 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.2756, allocations: 83.66 kB / 435 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.2759, allocations: 237.3 kB / 435.2 MB, free: 3.125 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2759, allocations: 4 kB / 435.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2759, allocations: 0 / 435.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.2759, allocations: 0 / 435.2 MB, free: 3.121 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.0007303/0.2766, allocations: 425.5 kB / 435.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.2766, allocations: 12.03 kB / 435.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.6e-05/0.2767, allocations: 20.8 kB / 435.6 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.277, allocations: 178.2 kB / 435.8 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.2771, allocations: 12.38 kB / 435.8 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.2771, allocations: 16.38 kB / 435.8 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.2775, allocations: 237.3 kB / 436.1 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2776, allocations: 3.938 kB / 436.1 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.2776, allocations: 4 kB / 436.1 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.2776, allocations: 4 kB / 436.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.2779, allocations: 143.9 kB / 436.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.279, allocations: 0.6218 MB / 436.8 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.2794, allocations: 162.5 kB / 437 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.2796, allocations: 84.81 kB / 437.1 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.2797, allocations: 4 kB / 437.1 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.2797, allocations: 34.56 kB / 437.1 MB, free: 1.043 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.2797, allocations: 0 / 437.1 MB, free: 1.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004702/0.2802, allocations: 185.8 kB / 437.3 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.2802, allocations: 55.41 kB / 437.4 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.2804, allocations: 152.5 kB / 437.5 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.2804, allocations: 29.7 kB / 437.5 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.2805, allocations: 144.2 kB / 437.7 MB, free: 460 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.2805, allocations: 43.59 kB / 437.7 MB, free: 416 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.028e-05/0.2806, allocations: 41.64 kB / 437.8 MB, free: 368 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2807, allocations: 322.8 kB / 438.1 MB, free: 36 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.2809, allocations: 44.06 kB / 438.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.281, allocations: 76.77 kB / 438.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.2813, allocations: 124.5 kB / 438.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2813, allocations: 0 / 438.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003545/0.2816, allocations: 177.4 kB / 438.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.2817, allocations: 7.938 kB / 438.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2817, allocations: 7.984 kB / 438.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.2817, allocations: 0 / 438.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.2819, allocations: 39.95 kB / 438.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2819, allocations: 4 kB / 438.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.282, allocations: 23.86 kB / 438.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.282, allocations: 4 kB / 438.6 MB, free: 15.52 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.0001352/0.2822, allocations: 129.8 kB / 438.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.2822, allocations: 11.91 kB / 438.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.284e-05/0.2822, allocations: 16.78 kB / 438.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.2823, allocations: 3.984 kB / 438.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2823, allocations: 0 / 438.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2823, allocations: 7.875 kB / 438.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.2825, allocations: 181.2 kB / 438.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2825, allocations: 0 / 438.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.2827, allocations: 35.97 kB / 439 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2827, allocations: 0 / 439 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.2828, allocations: 4 kB / 439 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.2828, allocations: 4 kB / 439 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2828, allocations: 0 / 439 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005382/0.2833, allocations: 306.8 kB / 439.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.633e-05/0.2833, allocations: 15.98 kB / 439.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.2833, allocations: 4 kB / 439.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.2835, allocations: 11.98 kB / 439.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.2835, allocations: 15.98 kB / 439.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.2836, allocations: 8 kB / 439.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.586e-05/0.2836, allocations: 115.2 kB / 439.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2837, allocations: 0 / 439.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.2839, allocations: 47.89 kB / 439.5 MB, free: 14.57 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.0001291/0.2841, allocations: 103.2 kB / 439.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003152/0.2844, allocations: 111.9 kB / 439.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2844, allocations: 0 / 439.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.2845, allocations: 63.91 kB / 439.7 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.0003305/0.2848, allocations: 23.92 kB / 439.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.286, allocations: 0.5225 MB / 440.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.2861, allocations: 107.9 kB / 440.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.482e-05/0.2862, allocations: 17.08 kB / 440.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.2863, allocations: 15.44 kB / 440.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2863, allocations: 0 / 440.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of Templates: time 0.005215/0.2915, allocations: 1.78 MB / 442.2 MB, free: 11.81 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480] 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[50210]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.79126549186185]