Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.001321/0.001321, 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.001432/0.001432, allocations: 207.5 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.503/1.503, allocations: 230.5 MB / 257.4 MB, free: 7.758 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 71.83 kB / 377.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3184, allocations: 53.41 MB / 431.2 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002639/0.321, allocations: 0.9493 MB / 432.1 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004338/0.3214, allocations: 107.6 kB / 432.2 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.3215, allocations: 3.938 kB / 432.2 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.732e-05/0.3216, allocations: 15.92 kB / 432.2 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.3217, allocations: 3.938 kB / 432.2 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.322, allocations: 47.39 kB / 432.3 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.3221, allocations: 35.92 kB / 432.3 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.3222, allocations: 12.17 kB / 432.3 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.937e-05/0.3223, allocations: 19.88 kB / 432.3 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.055e-05/0.3223, allocations: 15.92 kB / 432.4 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.3223, allocations: 0 / 432.4 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.3223, allocations: 4 kB / 432.4 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.103e-05/0.3224, allocations: 23.84 kB / 432.4 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.3225, allocations: 27.81 kB / 432.4 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.3226, allocations: 52.17 kB / 432.5 MB, free: 5.168 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3226, allocations: 0 / 432.5 MB, free: 5.168 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3226, allocations: 0 / 432.5 MB, free: 5.168 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.3226, allocations: 0 / 432.5 MB, free: 5.168 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.0004941/0.3231, allocations: 301.9 kB / 432.8 MB, free: 4.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.3232, allocations: 11.98 kB / 432.8 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.717e-05/0.3232, allocations: 42.73 kB / 432.8 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.3232, allocations: 8.891 kB / 432.8 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.3235, allocations: 146.3 kB / 433 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.3235, allocations: 384 / 433 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.3236, allocations: 8.375 kB / 433 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.3239, allocations: 131.6 kB / 433.1 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3239, allocations: 0 / 433.1 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.3239, allocations: 0 / 433.1 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.3239, allocations: 4 kB / 433.1 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.354e-05/0.3239, allocations: 12 kB / 433.1 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001824/0.3241, allocations: 160.5 kB / 433.3 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.3243, allocations: 58.72 kB / 433.3 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.979e-05/0.3243, allocations: 32.89 kB / 433.4 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.3244, allocations: 0 / 433.4 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.3244, allocations: 42.5 kB / 433.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.3244, allocations: 0 / 433.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002102/0.3246, allocations: 93.7 kB / 433.5 MB, free: 3.992 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/0.3247, allocations: 59.41 kB / 433.6 MB, free: 3.922 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.3248, allocations: 140.6 kB / 433.7 MB, free: 3.777 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.3248, allocations: 25.7 kB / 433.7 MB, free: 3.746 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.3249, allocations: 92.12 kB / 433.8 MB, free: 3.652 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.3249, allocations: 4 kB / 433.8 MB, free: 3.648 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.3249, allocations: 25.72 kB / 433.8 MB, free: 3.617 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3251, allocations: 314.8 kB / 434.1 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.3251, allocations: 8 kB / 434.2 MB, free: 3.293 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.558e-05/0.3252, allocations: 62.8 kB / 434.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.646e-05/0.3253, allocations: 70.81 kB / 434.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3253, allocations: 0 / 434.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001335/0.3254, allocations: 97.38 kB / 434.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3254, allocations: 8 kB / 434.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3254, allocations: 256 / 434.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3254, allocations: 8 kB / 434.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.427e-05/0.3255, allocations: 15.94 kB / 434.4 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3255, allocations: 4 kB / 434.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.314e-05/0.3256, allocations: 3.953 kB / 434.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.3256, allocations: 8 kB / 434.4 MB, free: 2.965 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 9.956e-05/0.3257, allocations: 122.7 kB / 434.5 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.3258, allocations: 77.52 kB / 434.6 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.518e-05/0.3258, allocations: 12.72 kB / 434.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3258, allocations: 0 / 434.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3258, allocations: 4 kB / 434.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3258, allocations: 4 kB / 434.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.3259, allocations: 140.7 kB / 434.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3259, allocations: 0 / 434.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.287e-05/0.326, allocations: 15.94 kB / 434.8 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.326, allocations: 3.938 kB / 434.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.326, allocations: 0 / 434.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.326, allocations: 0 / 434.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.326, allocations: 7.984 kB / 434.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.3261, allocations: 105 kB / 434.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.3262, allocations: 15.89 kB / 434.9 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.3262, allocations: 11.98 kB / 434.9 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.744e-05/0.3262, allocations: 4 kB / 434.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-06/0.3262, allocations: 0 / 434.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.3262, allocations: 192 / 434.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.636e-05/0.3263, allocations: 103.3 kB / 435 MB, free: 2.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3263, allocations: 3.938 kB / 435 MB, free: 2.266 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000199/0.3265, allocations: 12 kB / 435.1 MB, free: 2.254 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.0005127/0.327, allocations: 0.6553 MB / 435.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.3271, allocations: 44.36 kB / 435.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3271, allocations: 0 / 435.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.3271, allocations: 0 / 435.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.3275, allocations: 49.03 kB / 435.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.3288, allocations: 1.347 MB / 437.1 MB, free: 12 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.673e-05/0.3289, allocations: 80.11 kB / 437.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.151e-05/0.3289, allocations: 16.05 kB / 437.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.455e-05/0.329, allocations: 19.44 kB / 437.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.329, allocations: 0 / 437.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02788/0.3569, allocations: 2.269 MB / 439.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.19, allocations: 11.5 kB / 439.5 MB, free: 13.71 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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: 13.64939969778061]