Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 104.6 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 196.7 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 225.6 MB / 251.4 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 47.92 kB / 369.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.291, allocations: 52.14 MB / 421.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003196/0.2942, allocations: 1.587 MB / 422.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.2952, allocations: 486.7 kB / 423.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.864e-05/0.2953, allocations: 0 / 423.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.969e-05/0.2954, allocations: 3.938 kB / 423.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.2955, allocations: 23.78 kB / 423.4 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.2958, allocations: 39.89 kB / 423.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.2959, allocations: 43.8 kB / 423.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.296, allocations: 11.98 kB / 423.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.586e-05/0.2961, allocations: 23.92 kB / 423.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.951e-05/0.2962, allocations: 23.84 kB / 423.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.2962, allocations: 4 kB / 423.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.536e-05/0.2962, allocations: 4 kB / 423.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.355e-05/0.2963, allocations: 8 kB / 423.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.846e-05/0.2963, allocations: 27.8 kB / 423.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.2965, allocations: 56.95 kB / 423.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2965, allocations: 0 / 423.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2965, allocations: 3.938 kB / 423.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.2965, allocations: 0 / 423.6 MB, free: 12.82 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005896/0.2971, allocations: 383.1 kB / 424 MB, free: 12.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.2971, allocations: 8.031 kB / 424 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.2971, allocations: 12.89 kB / 424 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.2975, allocations: 188.2 kB / 424.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.2975, allocations: 8.375 kB / 424.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.2975, allocations: 384 / 424.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.2978, allocations: 125.3 kB / 424.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2978, allocations: 0 / 424.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.2978, allocations: 0 / 424.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.2978, allocations: 0 / 424.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.739e-05/0.2979, allocations: 19.98 kB / 424.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004247/0.2983, allocations: 265.8 kB / 424.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.2986, allocations: 138.2 kB / 424.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.922e-05/0.2987, allocations: 29.77 kB / 424.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.2987, allocations: 7.938 kB / 424.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.2987, allocations: 38.48 kB / 424.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.2987, allocations: 0 / 424.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002927/0.299, allocations: 77.62 kB / 424.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.2991, allocations: 85.05 kB / 425 MB, free: 11.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.2992, allocations: 136.9 kB / 425.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.2993, allocations: 29.7 kB / 425.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.295e-05/0.2993, allocations: 88.12 kB / 425.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.2994, allocations: 11.89 kB / 425.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.2994, allocations: 17.72 kB / 425.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.2996, allocations: 322.8 kB / 425.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.36e-05/0.2996, allocations: 8 kB / 425.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.944e-05/0.2997, allocations: 35.61 kB / 425.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.2998, allocations: 47.36 kB / 425.7 MB, free: 10.49 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2998, allocations: 0 / 425.7 MB, free: 10.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001433/0.2999, allocations: 73.66 kB / 425.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.2999, allocations: 4 kB / 425.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.2999, allocations: 0 / 425.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.3, allocations: 7.984 kB / 425.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.847e-05/0.3, allocations: 11.94 kB / 425.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3, allocations: 3.984 kB / 425.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.436e-05/0.3001, allocations: 8 kB / 425.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.3001, allocations: 0 / 425.8 MB, free: 10.38 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001186/0.3002, allocations: 125.8 kB / 425.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.989e-05/0.3003, allocations: 49.64 kB / 425.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.515e-05/0.3003, allocations: 12.25 kB / 426 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.3003, allocations: 0 / 426 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.3003, allocations: 4 kB / 426 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.954e-06/0.3004, allocations: 7.984 kB / 426 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.3006, allocations: 177.5 kB / 426.1 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3006, allocations: 0 / 426.1 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.617e-05/0.3006, allocations: 12 kB / 426.1 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3006, allocations: 0 / 426.1 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.3006, allocations: 8 kB / 426.2 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3006, allocations: 3.984 kB / 426.2 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3006, allocations: 0 / 426.2 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.3009, allocations: 172.2 kB / 426.3 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-05/0.3009, allocations: 93.05 kB / 426.4 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.3009, allocations: 0 / 426.4 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.301, allocations: 8 kB / 426.4 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.3011, allocations: 3.938 kB / 426.4 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.3011, allocations: 4 kB / 426.4 MB, free: 9.602 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.42e-05/0.3012, allocations: 109.9 kB / 426.5 MB, free: 9.496 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3012, allocations: 0 / 426.5 MB, free: 9.496 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.3014, allocations: 4 kB / 426.5 MB, free: 9.492 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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.0001297/0.3015, allocations: 100 kB / 426.6 MB, free: 9.387 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.3017, allocations: 39.97 kB / 426.7 MB, free: 9.348 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3017, allocations: 0 / 426.7 MB, free: 9.348 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.597e-05/0.3017, allocations: 4 kB / 426.7 MB, free: 9.344 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.3021, allocations: 31.16 kB / 426.7 MB, free: 9.316 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004681/0.3026, allocations: 193.1 kB / 426.9 MB, free: 9.094 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.3029, allocations: 0.6925 MB / 427.6 MB, free: 8.375 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.303, allocations: 11.44 kB / 427.6 MB, free: 8.363 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.303, allocations: 0 / 427.6 MB, free: 8.363 MB / 334.1 MB Notification: Performance of Templates: time 0.00252/0.3055, allocations: 0.7463 MB / 428.4 MB, free: 7.617 MB / 334.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches