Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001329/0.001329, 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.001513/0.001513, allocations: 209.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.518/1.518, allocations: 230.5 MB / 257.4 MB, free: 7.742 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.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 63.88 kB / 377.7 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3135, allocations: 53.4 MB / 431.1 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003412/0.3169, allocations: 1.522 MB / 432.7 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004799/0.3174, allocations: 131.5 kB / 432.8 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.3175, allocations: 0 / 432.8 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.87e-05/0.3175, allocations: 7.922 kB / 432.8 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.3177, allocations: 3.938 kB / 432.8 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.3179, allocations: 43.84 kB / 432.8 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.3181, allocations: 27.92 kB / 432.9 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3182, allocations: 11.98 kB / 432.9 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.914e-05/0.3182, allocations: 11.94 kB / 432.9 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.977e-05/0.3182, allocations: 15.91 kB / 432.9 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.3183, allocations: 0 / 432.9 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.3183, allocations: 4 kB / 432.9 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.553e-05/0.3183, allocations: 11.94 kB / 432.9 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.3184, allocations: 11.88 kB / 432.9 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.3185, allocations: 45.44 kB / 433 MB, free: 4.609 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3185, allocations: 3.938 kB / 433 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3185, allocations: 4 kB / 433 MB, free: 4.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.3185, allocations: 4 kB / 433 MB, free: 4.598 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.0005383/0.319, allocations: 282.1 kB / 433.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.3191, allocations: 15.98 kB / 433.3 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.2e-05/0.3191, allocations: 30.75 kB / 433.3 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.3192, allocations: 8.891 kB / 433.3 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.3195, allocations: 133.5 kB / 433.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.3195, allocations: 4.375 kB / 433.5 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.3195, allocations: 384 / 433.5 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.3198, allocations: 105.5 kB / 433.6 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3198, allocations: 3.938 kB / 433.6 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.3198, allocations: 0 / 433.6 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.3198, allocations: 3.984 kB / 433.6 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.85e-05/0.3199, allocations: 19.92 kB / 433.6 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.3203, allocations: 224.9 kB / 433.8 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.3204, allocations: 49.09 kB / 433.9 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.755e-05/0.3205, allocations: 25.77 kB / 433.9 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.3205, allocations: 4 kB / 433.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.3205, allocations: 30.56 kB / 433.9 MB, free: 3.516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3205, allocations: 0 / 433.9 MB, free: 3.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002528/0.3208, allocations: 57.62 kB / 434 MB, free: 3.453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.184e-05/0.3209, allocations: 89.09 kB / 434.1 MB, free: 3.348 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.321, allocations: 130.1 kB / 434.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.3211, allocations: 29.95 kB / 434.2 MB, free: 3.172 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.743e-05/0.3212, allocations: 88.14 kB / 434.3 MB, free: 3.082 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.3212, allocations: 0 / 434.3 MB, free: 3.082 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.3212, allocations: 17.72 kB / 434.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.3214, allocations: 314.8 kB / 434.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.197e-05/0.3215, allocations: 8 kB / 434.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.442e-05/0.3215, allocations: 25.64 kB / 434.7 MB, free: 2.703 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.454e-05/0.3216, allocations: 29.64 kB / 434.7 MB, free: 2.668 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3216, allocations: 8 kB / 434.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001274/0.3217, allocations: 53.58 kB / 434.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.3217, allocations: 4 kB / 434.7 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.3217, allocations: 4 kB / 434.8 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.3218, allocations: 0 / 434.8 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.129e-05/0.3218, allocations: 4 kB / 434.8 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3219, allocations: 0 / 434.8 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.334e-05/0.3219, allocations: 7.984 kB / 434.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/0.3219, allocations: 4 kB / 434.8 MB, free: 2.578 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: 2 (step.y,sample1.y) * 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.0001197/0.322, allocations: 117.8 kB / 434.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.27e-05/0.3221, allocations: 45.59 kB / 434.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.359e-05/0.3221, allocations: 15.75 kB / 434.9 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3221, allocations: 3.938 kB / 434.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3221, allocations: 0 / 434.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3222, allocations: 0 / 434.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.3224, allocations: 140.6 kB / 435.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.3224, allocations: 4 kB / 435.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.097e-05/0.3224, allocations: 7.984 kB / 435.1 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.3224, allocations: 0 / 435.1 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.3224, allocations: 4.031 kB / 435.1 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3224, allocations: 0 / 435.1 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3224, allocations: 0 / 435.1 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.3226, allocations: 152.3 kB / 435.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.3227, allocations: 15.94 kB / 435.3 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.3227, allocations: 4 kB / 435.3 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.421e-05/0.3228, allocations: 3.938 kB / 435.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.3228, allocations: 3.984 kB / 435.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.3228, allocations: 4 kB / 435.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.887e-05/0.3229, allocations: 103.3 kB / 435.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3229, allocations: 4 kB / 435.4 MB, free: 1.883 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002945/0.3232, allocations: 0 / 435.4 MB, free: 1.883 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: 2 (step.y,sample1.y) * 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.0005739/0.3238, allocations: 0.6931 MB / 436.1 MB, free: 1.164 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001301/0.3239, allocations: 23.92 kB / 436.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3239, allocations: 0 / 436.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.374e-05/0.3239, allocations: 8.156 kB / 436.1 MB, free: 1.133 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.3243, allocations: 26.7 kB / 436.1 MB, free: 1.109 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.3256, allocations: 1.268 MB / 437.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.492e-05/0.3257, allocations: 67.33 kB / 437.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.838e-05/0.3257, allocations: 4 kB / 437.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.1e-05/0.3257, allocations: 15.62 kB / 437.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3257, allocations: 0 / 437.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/0.3553, allocations: 1.91 MB / 439.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.06, allocations: 15.48 kB / 439.4 MB, free: 13.82 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y Variables in the result:time,step.startTime,sample1.y,step.y,periodicClock.factor,periodicClock.resolution [Calling sys.exit(0), Time elapsed: 13.68737502489239]