Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.00137/0.00137, 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.001651/0.001651, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.479/1.479, 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 55.91 kB / 377.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3327, allocations: 53.41 MB / 431.1 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002733/0.3354, allocations: 1.452 MB / 432.6 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002891/0.3357, allocations: 95.64 kB / 432.7 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.721e-05/0.3358, allocations: 0 / 432.7 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.814e-05/0.3358, allocations: 7.875 kB / 432.7 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.249e-05/0.3359, allocations: 11.92 kB / 432.7 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.3361, allocations: 19.98 kB / 432.7 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.984e-05/0.3362, allocations: 31.86 kB / 432.7 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.873e-05/0.3363, allocations: 7.984 kB / 432.8 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.171e-05/0.3363, allocations: 11.98 kB / 432.8 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.125e-05/0.3363, allocations: 11.94 kB / 432.8 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.3364, allocations: 0 / 432.8 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.3364, allocations: 4 kB / 432.8 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.3364, allocations: 7.922 kB / 432.8 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.3364, allocations: 11.94 kB / 432.8 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.3365, allocations: 29.53 kB / 432.8 MB, free: 4.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3365, allocations: 4 kB / 432.8 MB, free: 4.719 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3365, allocations: 0 / 432.8 MB, free: 4.719 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3365, allocations: 0 / 432.8 MB, free: 4.719 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004211/0.337, allocations: 270.3 kB / 433.1 MB, free: 4.422 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.337, allocations: 15.98 kB / 433.1 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.512e-05/0.337, allocations: 30.75 kB / 433.1 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.622e-05/0.3371, allocations: 8.891 kB / 433.2 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.3373, allocations: 122.5 kB / 433.3 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3373, allocations: 4.375 kB / 433.3 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.3373, allocations: 384 / 433.3 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.3376, allocations: 107.9 kB / 433.4 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3376, allocations: 3.938 kB / 433.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.3377, allocations: 0 / 433.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3377, allocations: 0 / 433.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.543e-05/0.3377, allocations: 19.92 kB / 433.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001459/0.3379, allocations: 128.7 kB / 433.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.338, allocations: 58.58 kB / 433.6 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.289e-05/0.3381, allocations: 20.89 kB / 433.6 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.3381, allocations: 3.938 kB / 433.6 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.3382, allocations: 38.56 kB / 433.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3382, allocations: 0 / 433.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002316/0.3384, allocations: 69.55 kB / 433.7 MB, free: 3.688 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.3384, allocations: 55.59 kB / 433.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.489e-05/0.3385, allocations: 106 kB / 433.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.3385, allocations: 29.7 kB / 433.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.3386, allocations: 88.14 kB / 434 MB, free: 3.383 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.071e-06/0.3386, allocations: 0 / 434 MB, free: 3.383 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.3386, allocations: 21.7 kB / 434 MB, free: 3.355 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.3388, allocations: 310.8 kB / 434.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.3388, allocations: 7.938 kB / 434.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.273e-05/0.3388, allocations: 39.47 kB / 434.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.3389, allocations: 35.38 kB / 434.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3389, allocations: 4 kB / 434.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.168e-05/0.3389, allocations: 61.52 kB / 434.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.339, allocations: 7.938 kB / 434.5 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.339, allocations: 4 kB / 434.5 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.339, allocations: 0 / 434.5 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.515e-05/0.339, allocations: 8 kB / 434.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.339, allocations: 0 / 434.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.792e-05/0.3391, allocations: 0 / 434.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.3391, allocations: 4.125 kB / 434.5 MB, free: 2.844 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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 8.919e-05/0.3392, allocations: 117.8 kB / 434.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.3393, allocations: 61.55 kB / 434.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.3393, allocations: 8 kB / 434.7 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3393, allocations: 4 kB / 434.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3393, allocations: 0 / 434.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3393, allocations: 0 / 434.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.3394, allocations: 124.8 kB / 434.8 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3394, allocations: 0 / 434.8 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.946e-05/0.3395, allocations: 11.98 kB / 434.8 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3395, allocations: 7.938 kB / 434.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.3395, allocations: 0 / 434.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3395, allocations: 0 / 434.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3395, allocations: 0 / 434.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.3396, allocations: 92.94 kB / 434.9 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.938e-06/0.3396, allocations: 7.938 kB / 434.9 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.3396, allocations: 3.938 kB / 434.9 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.719e-05/0.3397, allocations: 4 kB / 434.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-06/0.3397, allocations: 0 / 434.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.3397, allocations: 0 / 434.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.279e-05/0.3397, allocations: 95.27 kB / 435 MB, free: 2.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3397, allocations: 0 / 435 MB, free: 2.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001805/0.3399, allocations: 4 kB / 435 MB, free: 2.227 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: 3 (step.y,assignClock1.u,assignClock1.y) * 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.0004873/0.3404, allocations: 0.6202 MB / 435.6 MB, free: 1.578 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.3405, allocations: 27.92 kB / 435.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3405, allocations: 0 / 435.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.3405, allocations: 0 / 435.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.3407, allocations: 28.17 kB / 435.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.3418, allocations: 1.147 MB / 436.8 MB, free: 284 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.655e-05/0.3418, allocations: 63.34 kB / 436.9 MB, free: 200 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.213e-05/0.3418, allocations: 0 / 436.9 MB, free: 200 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.3419, allocations: 19.42 kB / 436.9 MB, free: 180 kB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3419, allocations: 0 / 436.9 MB, free: 180 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03265/0.3745, allocations: 1.754 MB / 438.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.05, allocations: 0 / 438.7 MB, free: 14.54 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.535766459070146]