Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.002069/0.002069, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002377/0.002377, allocations: 205.6 kB / 23.72 MB, free: 4.391 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.565/1.565, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 63.89 kB / 378.2 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.296, allocations: 53.41 MB / 431.6 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002994/0.299, allocations: 1.586 MB / 433.2 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009889/0.3, allocations: 0.5025 MB / 433.7 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.571e-05/0.3001, allocations: 7.938 kB / 433.7 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.239e-05/0.3001, allocations: 3.938 kB / 433.7 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.3003, allocations: 7.922 kB / 433.8 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.3006, allocations: 55.81 kB / 433.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.3007, allocations: 43.84 kB / 433.8 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.3008, allocations: 15.94 kB / 433.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.3009, allocations: 31.86 kB / 433.9 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.415e-05/0.301, allocations: 23.91 kB / 433.9 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.301, allocations: 0 / 433.9 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.363e-05/0.3011, allocations: 8 kB / 433.9 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.088e-05/0.3011, allocations: 15.92 kB / 433.9 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.391e-05/0.3012, allocations: 19.81 kB / 434 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.3013, allocations: 61.98 kB / 434 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3013, allocations: 4 kB / 434 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3013, allocations: 0 / 434 MB, free: 4.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.3013, allocations: 0 / 434 MB, free: 4.148 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.000557/0.3019, allocations: 298 kB / 434.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.3019, allocations: 19.97 kB / 434.3 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.3021, allocations: 12.89 kB / 434.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.3024, allocations: 150.2 kB / 434.5 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.3024, allocations: 4.375 kB / 434.5 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.3024, allocations: 4.375 kB / 434.5 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.3027, allocations: 121.3 kB / 434.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3028, allocations: 0 / 434.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.3028, allocations: 0 / 434.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.3028, allocations: 4 kB / 434.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.663e-05/0.3029, allocations: 23.92 kB / 434.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.3032, allocations: 205.5 kB / 434.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.3034, allocations: 65.08 kB / 434.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.542e-05/0.3035, allocations: 33.77 kB / 434.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.3035, allocations: 4 kB / 435 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.3035, allocations: 30.56 kB / 435 MB, free: 3.055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3035, allocations: 0 / 435 MB, free: 3.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003128/0.3038, allocations: 85.56 kB / 435.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.067e-05/0.3039, allocations: 77.11 kB / 435.1 MB, free: 2.871 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.3041, allocations: 144.8 kB / 435.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.3041, allocations: 29.7 kB / 435.3 MB, free: 2.684 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.584e-05/0.3042, allocations: 88.08 kB / 435.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.3042, allocations: 12.08 kB / 435.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.3043, allocations: 21.7 kB / 435.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3044, allocations: 314.8 kB / 435.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.67e-05/0.3045, allocations: 7.984 kB / 435.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.986e-05/0.3045, allocations: 39.38 kB / 435.8 MB, free: 2.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.3046, allocations: 39.42 kB / 435.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3046, allocations: 4 kB / 435.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001643/0.3048, allocations: 81.44 kB / 435.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3048, allocations: 8 kB / 435.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3048, allocations: 0 / 435.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.3048, allocations: 0 / 435.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.031e-05/0.3049, allocations: 11.98 kB / 435.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3049, allocations: 0 / 435.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.144e-05/0.305, allocations: 4 kB / 435.9 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.305, allocations: 12.06 kB / 435.9 MB, free: 2.004 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.0001007/0.3051, allocations: 121.8 kB / 436.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-05/0.3052, allocations: 53.86 kB / 436.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.212e-05/0.3052, allocations: 16.33 kB / 436.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3052, allocations: 0 / 436.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3052, allocations: 0 / 436.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3052, allocations: 0 / 436.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.3054, allocations: 117.3 kB / 436.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3054, allocations: 3.938 kB / 436.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.738e-05/0.3054, allocations: 11.98 kB / 436.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3054, allocations: 4 kB / 436.3 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.3055, allocations: 0 / 436.3 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3055, allocations: 0 / 436.3 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3055, allocations: 4 kB / 436.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.3057, allocations: 168.3 kB / 436.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.3057, allocations: 19.88 kB / 436.5 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.3057, allocations: 4 kB / 436.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-05/0.3058, allocations: 0 / 436.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.3058, allocations: 0 / 436.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-06/0.3058, allocations: 7.984 kB / 436.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.306, allocations: 114 kB / 436.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.306, allocations: 0 / 436.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.3062, allocations: 4 kB / 436.6 MB, free: 1.297 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.0001162/0.3063, allocations: 95.25 kB / 436.7 MB, free: 1.195 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001666/0.3065, allocations: 35.91 kB / 436.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3065, allocations: 3.938 kB / 436.7 MB, free: 1.156 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.094e-05/0.3065, allocations: 8.25 kB / 436.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.3069, allocations: 35.95 kB / 436.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003516/0.3072, allocations: 163.7 kB / 436.9 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.603e-05/0.3073, allocations: 75.33 kB / 437 MB, free: 0.832 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.809e-05/0.3073, allocations: 3.984 kB / 437 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.3074, allocations: 15.44 kB / 437 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3074, allocations: 0 / 437 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of Templates: time 0.003206/0.3106, allocations: 0.5912 MB / 437.6 MB, free: 236 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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 [Calling sys.exit(0), Time elapsed: 4.637839829549193]