Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.001267/0.001267, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001378/0.001378, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.34/1.34, allocations: 230.6 MB / 258.3 MB, free: 8.012 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 47.92 kB / 378.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.213, allocations: 53.37 MB / 431.9 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002095/0.215, allocations: 0.9648 MB / 432.9 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003146/0.2154, allocations: 127.5 kB / 433 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.029e-05/0.2154, allocations: 0 / 433 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.776e-05/0.2155, allocations: 3.938 kB / 433 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.2156, allocations: 15.88 kB / 433 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.2158, allocations: 39.89 kB / 433.1 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.39e-05/0.2159, allocations: 43.84 kB / 433.1 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9e-05/0.216, allocations: 16.19 kB / 433.1 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.255e-05/0.216, allocations: 15.92 kB / 433.2 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.273e-05/0.216, allocations: 19.86 kB / 433.2 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.2161, allocations: 4 kB / 433.2 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.12e-05/0.2161, allocations: 4 kB / 433.2 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.2161, allocations: 11.94 kB / 433.2 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.2162, allocations: 31.78 kB / 433.2 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.2163, allocations: 61.38 kB / 433.3 MB, free: 5.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.2163, allocations: 0 / 433.3 MB, free: 5.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2163, allocations: 0 / 433.3 MB, free: 5.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.2163, allocations: 0 / 433.3 MB, free: 5.484 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000385/0.2167, allocations: 298 kB / 433.6 MB, free: 5.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2167, allocations: 12.03 kB / 433.6 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.361e-05/0.2167, allocations: 192 / 433.6 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.2168, allocations: 42.69 kB / 433.6 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.2168, allocations: 8.891 kB / 433.6 MB, free: 5.094 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.217, allocations: 142.4 kB / 433.8 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.35e-06/0.217, allocations: 384 / 433.8 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.217, allocations: 8.375 kB / 433.8 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.2173, allocations: 131.3 kB / 433.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.2173, allocations: 4 kB / 433.9 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.2173, allocations: 0 / 433.9 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.2173, allocations: 4 kB / 433.9 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.899e-05/0.2173, allocations: 15.98 kB / 433.9 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001443/0.2175, allocations: 144.6 kB / 434.1 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.2176, allocations: 66.66 kB / 434.1 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.674e-05/0.2177, allocations: 36.89 kB / 434.2 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.681e-06/0.2177, allocations: 4 kB / 434.2 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.2177, allocations: 38.44 kB / 434.2 MB, free: 4.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.2177, allocations: 0 / 434.2 MB, free: 4.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001855/0.2179, allocations: 89.78 kB / 434.3 MB, free: 4.316 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.2179, allocations: 59.39 kB / 434.4 MB, free: 4.246 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.218, allocations: 133.8 kB / 434.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.2181, allocations: 25.7 kB / 434.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.2181, allocations: 96.08 kB / 434.6 MB, free: 3.977 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.242e-05/0.2181, allocations: 0 / 434.6 MB, free: 3.977 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.2182, allocations: 29.7 kB / 434.6 MB, free: 3.941 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.2183, allocations: 310.8 kB / 434.9 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.2183, allocations: 11.98 kB / 435 MB, free: 3.617 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.426e-05/0.2184, allocations: 62.88 kB / 435 MB, free: 3.531 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.989e-05/0.2185, allocations: 78.67 kB / 435.1 MB, free: 3.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2185, allocations: 0 / 435.1 MB, free: 3.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001345/0.2186, allocations: 93.39 kB / 435.2 MB, free: 3.332 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.2186, allocations: 8 kB / 435.2 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2186, allocations: 0 / 435.2 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.2186, allocations: 4 kB / 435.2 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.586e-05/0.2187, allocations: 16.23 kB / 435.2 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.2187, allocations: 8 kB / 435.2 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.579e-05/0.2188, allocations: 7.953 kB / 435.2 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.2188, allocations: 8 kB / 435.2 MB, free: 3.281 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 8.788e-05/0.2188, allocations: 117.8 kB / 435.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.2189, allocations: 77.58 kB / 435.4 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/0.219, allocations: 16.69 kB / 435.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.219, allocations: 4 kB / 435.5 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.219, allocations: 0 / 435.5 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.219, allocations: 4 kB / 435.5 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.2191, allocations: 140.7 kB / 435.6 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2191, allocations: 3.938 kB / 435.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.429e-05/0.2192, allocations: 15.98 kB / 435.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2192, allocations: 3.938 kB / 435.6 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.2192, allocations: 4 kB / 435.6 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2192, allocations: 0 / 435.6 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2192, allocations: 4 kB / 435.6 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.2193, allocations: 93.47 kB / 435.7 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-05/0.2193, allocations: 28.05 kB / 435.7 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.2193, allocations: 0 / 435.7 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.883e-05/0.2194, allocations: 11.94 kB / 435.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-06/0.2194, allocations: 0 / 435.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.2194, allocations: 0 / 435.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.034e-05/0.2195, allocations: 110.1 kB / 435.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2195, allocations: 0 / 435.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001919/0.2196, allocations: 8 kB / 435.9 MB, free: 2.574 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0004825/0.2201, allocations: 0.6632 MB / 436.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001042/0.2202, allocations: 39.92 kB / 436.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2202, allocations: 0 / 436.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.2202, allocations: 0 / 436.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.2205, allocations: 51.19 kB / 436.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.2217, allocations: 1.348 MB / 438 MB, free: 332 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.222, allocations: 0.7001 MB / 438.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.864e-05/0.222, allocations: 12.08 kB / 438.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.2221, allocations: 23.42 kB / 438.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2221, allocations: 0 / 438.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.2428, allocations: 1.911 MB / 440.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.74, allocations: 7.453 kB / 440.6 MB, free: 13.79 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result:add.k1,add.k2,add.u1,add.u2,add.y,assignClock1.u,assignClock1.y,const.k,const.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,previous(unitDelay1.u),time,unitDelay1.u,unitDelay1.y,unitDelay1.y_start [Calling sys.exit(0), Time elapsed: 13.067321769951377]