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.001332/0.001332, allocations: 115.1 kB / 20.44 MB, free: 1.344 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.001443/0.001443, allocations: 205.8 kB / 23.72 MB, free: 4.535 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.497/1.497, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.002682/0.002682, allocations: 63.91 kB / 378.2 MB, free: 2.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2646, allocations: 53.41 MB / 431.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003219/0.2678, allocations: 2.028 MB / 433.7 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.2688, allocations: 0.5532 MB / 434.2 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.952e-05/0.2689, allocations: 4 kB / 434.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.2691, allocations: 35.7 kB / 434.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.2692, allocations: 51.48 kB / 434.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.2694, allocations: 59.92 kB / 434.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.2697, allocations: 231 kB / 434.6 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.2699, allocations: 53.77 kB / 434.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.27, allocations: 87.77 kB / 434.7 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.2702, allocations: 79.61 kB / 434.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.326e-05/0.2702, allocations: 24 kB / 434.8 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.099e-05/0.2702, allocations: 20 kB / 434.9 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.661e-05/0.2703, allocations: 43.84 kB / 434.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.2704, allocations: 87.64 kB / 435 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.2707, allocations: 237.3 kB / 435.2 MB, free: 2.926 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2707, allocations: 4 kB / 435.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2707, allocations: 0 / 435.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.2707, allocations: 0 / 435.2 MB, free: 2.922 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.0008021/0.2715, allocations: 433.5 kB / 435.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2715, allocations: 11.98 kB / 435.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.716e-05/0.2716, allocations: 24.8 kB / 435.7 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.2719, allocations: 170.2 kB / 435.8 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.272, allocations: 12.38 kB / 435.9 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.272, allocations: 28.36 kB / 435.9 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004171/0.2724, allocations: 229.3 kB / 436.1 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.2724, allocations: 0 / 436.1 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.2725, allocations: 8 kB / 436.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.2725, allocations: 7.984 kB / 436.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003248/0.2728, allocations: 139.9 kB / 436.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.274, allocations: 0.6179 MB / 436.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004134/0.2744, allocations: 158.5 kB / 437 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.2746, allocations: 84.83 kB / 437.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.2746, allocations: 4 kB / 437.1 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.2746, allocations: 30.56 kB / 437.2 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.2746, allocations: 0 / 437.2 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.000497/0.2751, allocations: 189.8 kB / 437.3 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.2752, allocations: 55.41 kB / 437.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.2753, allocations: 152.8 kB / 437.5 MB, free: 440 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.2754, allocations: 29.7 kB / 437.6 MB, free: 404 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.2755, allocations: 140.2 kB / 437.7 MB, free: 260 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.53e-05/0.2755, allocations: 47.59 kB / 437.8 MB, free: 212 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.269e-05/0.2756, allocations: 37.64 kB / 437.8 MB, free: 168 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.2758, allocations: 326.8 kB / 438.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.2759, allocations: 47.97 kB / 438.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.2761, allocations: 65.69 kB / 438.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.2763, allocations: 125.7 kB / 438.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2763, allocations: 3.938 kB / 438.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003401/0.2767, allocations: 177.4 kB / 438.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2767, allocations: 10.34 kB / 438.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2767, allocations: 0 / 438.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2767, allocations: 0 / 438.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.2769, allocations: 47.95 kB / 438.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.2769, allocations: 4 kB / 438.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.994e-05/0.277, allocations: 15.86 kB / 438.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.277, allocations: 8 kB / 438.6 MB, free: 15.32 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.0001123/0.2772, allocations: 121.8 kB / 438.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.2772, allocations: 11.91 kB / 438.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.191e-05/0.2772, allocations: 20.77 kB / 438.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2772, allocations: 3.938 kB / 438.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2772, allocations: 0 / 438.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.2773, allocations: 7.922 kB / 438.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.2775, allocations: 185.3 kB / 438.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2775, allocations: 0 / 438.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.2777, allocations: 35.97 kB / 439 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2777, allocations: 0 / 439 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.2777, allocations: 0 / 439 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.2777, allocations: 8 kB / 439 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2777, allocations: 0 / 439 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004953/0.2782, allocations: 314.2 kB / 439.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.155e-05/0.2782, allocations: 11.95 kB / 439.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.2783, allocations: 0 / 439.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.2784, allocations: 16.03 kB / 439.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.2785, allocations: 11.98 kB / 439.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.2785, allocations: 4 kB / 439.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.379e-05/0.2786, allocations: 117.9 kB / 439.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2786, allocations: 0 / 439.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.2788, allocations: 47.89 kB / 439.5 MB, free: 14.38 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.0001239/0.279, allocations: 107.2 kB / 439.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003303/0.2793, allocations: 111.9 kB / 439.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2793, allocations: 0 / 439.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.2794, allocations: 63.84 kB / 439.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.2798, allocations: 19.98 kB / 439.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.2808, allocations: 0.5264 MB / 440.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.2809, allocations: 107.9 kB / 440.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.55e-05/0.281, allocations: 17.08 kB / 440.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.281, allocations: 11.44 kB / 440.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.281, allocations: 4 kB / 440.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of Templates: time 0.005024/0.286, allocations: 1.738 MB / 442.2 MB, free: 11.66 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/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_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[50210]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.736684732139111]