Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001552/0.001552, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001791/0.001791, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.542/1.542, allocations: 230.5 MB / 257.4 MB, free: 7.812 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 67.89 kB / 378.2 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3046, allocations: 53.41 MB / 431.6 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003066/0.3077, allocations: 1.567 MB / 433.2 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.3089, allocations: 0.4986 MB / 433.7 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.52e-05/0.3089, allocations: 4 kB / 433.7 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.63e-05/0.309, allocations: 3.938 kB / 433.7 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.3091, allocations: 15.88 kB / 433.7 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.3095, allocations: 51.81 kB / 433.8 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.3096, allocations: 39.91 kB / 433.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.704e-05/0.3097, allocations: 4 kB / 433.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.3098, allocations: 31.86 kB / 433.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.278e-05/0.3099, allocations: 19.86 kB / 433.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.3099, allocations: 4 kB / 433.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.29e-05/0.3099, allocations: 8 kB / 433.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.31, allocations: 19.91 kB / 433.9 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.31, allocations: 15.88 kB / 433.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.3101, allocations: 51.47 kB / 434 MB, free: 4.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3102, allocations: 0 / 434 MB, free: 4.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3102, allocations: 0 / 434 MB, free: 4.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.3102, allocations: 3.984 kB / 434 MB, free: 4.207 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005543/0.3107, allocations: 296.6 kB / 434.3 MB, free: 3.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.3108, allocations: 11.98 kB / 434.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.3109, allocations: 16.88 kB / 434.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.3112, allocations: 152.9 kB / 434.4 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.3112, allocations: 4.375 kB / 434.4 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.3112, allocations: 384 / 434.4 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.3115, allocations: 97.36 kB / 434.5 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3115, allocations: 4 kB / 434.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.3115, allocations: 0 / 434.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.3116, allocations: 0 / 434.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.535e-05/0.3116, allocations: 19.98 kB / 434.6 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.312, allocations: 209.4 kB / 434.8 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.505e-05/0.3121, allocations: 53.08 kB / 434.8 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.3121, allocations: 17.77 kB / 434.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.3122, allocations: 0 / 434.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.3122, allocations: 38.5 kB / 434.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.3122, allocations: 0 / 434.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002788/0.3125, allocations: 69.81 kB / 434.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/0.3125, allocations: 85.05 kB / 435 MB, free: 2.996 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.3127, allocations: 134.2 kB / 435.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.3127, allocations: 25.7 kB / 435.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/0.3128, allocations: 92.12 kB / 435.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.3128, allocations: 4 kB / 435.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.3128, allocations: 17.67 kB / 435.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.313, allocations: 314.8 kB / 435.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.152e-05/0.3131, allocations: 7.984 kB / 435.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.814e-05/0.3131, allocations: 21.78 kB / 435.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.262e-05/0.3132, allocations: 33.64 kB / 435.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.3132, allocations: 0 / 435.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001287/0.3133, allocations: 57.61 kB / 435.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3134, allocations: 4 kB / 435.7 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3134, allocations: 4 kB / 435.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.3134, allocations: 0 / 435.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.818e-05/0.3135, allocations: 8.125 kB / 435.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3135, allocations: 0 / 435.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.992e-05/0.3135, allocations: 11.92 kB / 435.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.3135, allocations: 3.938 kB / 435.8 MB, free: 2.215 MB / 334.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 (2): * Single equations (assignments): 2 * 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.0001041/0.3136, allocations: 117.8 kB / 435.9 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.285e-05/0.3137, allocations: 37.66 kB / 435.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.3137, allocations: 19.75 kB / 435.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3137, allocations: 0 / 435.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3137, allocations: 0 / 435.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3137, allocations: 0 / 435.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.3139, allocations: 121.3 kB / 436 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.3139, allocations: 3.938 kB / 436 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.729e-05/0.314, allocations: 11.92 kB / 436.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.314, allocations: 3.984 kB / 436.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.314, allocations: 0 / 436.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.314, allocations: 4 kB / 436.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.314, allocations: 0 / 436.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.3142, allocations: 160.3 kB / 436.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.3142, allocations: 19.88 kB / 436.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.3142, allocations: 4.031 kB / 436.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.076e-05/0.3143, allocations: 11.98 kB / 436.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.3143, allocations: 0 / 436.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.3143, allocations: 0 / 436.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.855e-05/0.3144, allocations: 114 kB / 436.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3144, allocations: 0 / 436.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.3147, allocations: 4 kB / 436.4 MB, free: 1.531 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 (2): * Single equations (assignments): 2 * 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.00011/0.3148, allocations: 99.19 kB / 436.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.3149, allocations: 27.92 kB / 436.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3149, allocations: 0 / 436.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.112e-05/0.3149, allocations: 11.98 kB / 436.5 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.3153, allocations: 15.97 kB / 436.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.3156, allocations: 155.7 kB / 436.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.322e-05/0.3157, allocations: 79.31 kB / 436.8 MB, free: 1.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.156e-05/0.3157, allocations: 4.281 kB / 436.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.3158, allocations: 7.438 kB / 436.8 MB, free: 1.078 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3158, allocations: 0 / 436.8 MB, free: 1.078 MB / 334.1 MB Notification: Performance of Templates: time 0.003216/0.319, allocations: 0.5245 MB / 437.3 MB, free: 0.5664 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.578266156837344]