Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 112.2 kB / 16.51 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 44.55 kB / 300.1 MB, free: 6.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1284, allocations: 49.44 MB / 349.5 MB, free: 4.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.005765/0.1342, allocations: 1.487 MB / 351 MB, free: 3.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004079/0.1346, allocations: 99.67 kB / 351.1 MB, free: 3.082 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.1348, allocations: 0 / 351.1 MB, free: 3.082 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.899e-05/0.1349, allocations: 3.938 kB / 351.1 MB, free: 3.078 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.06e-05/0.135, allocations: 0 / 351.1 MB, free: 3.078 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.1355, allocations: 27.91 kB / 351.1 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.1356, allocations: 23.88 kB / 351.1 MB, free: 3.027 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.1358, allocations: 15.98 kB / 351.2 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.157e-05/0.1358, allocations: 8 kB / 351.2 MB, free: 3.004 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.1e-05/0.1359, allocations: 11.92 kB / 351.2 MB, free: 2.992 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.1359, allocations: 0 / 351.2 MB, free: 2.992 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.378e-05/0.136, allocations: 0 / 351.2 MB, free: 2.992 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.801e-05/0.136, allocations: 11.94 kB / 351.2 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.405e-05/0.1361, allocations: 7.938 kB / 351.2 MB, free: 2.973 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.1362, allocations: 31.89 kB / 351.2 MB, free: 2.941 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1362, allocations: 0 / 351.2 MB, free: 2.941 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1362, allocations: 3.938 kB / 351.2 MB, free: 2.938 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.1363, allocations: 4 kB / 351.2 MB, free: 2.934 MB / 286.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.0006255/0.1369, allocations: 343.7 kB / 351.6 MB, free: 2.547 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.526e-05/0.137, allocations: 8.031 kB / 351.6 MB, free: 2.539 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.085e-05/0.137, allocations: 38.73 kB / 351.6 MB, free: 2.492 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.1371, allocations: 8.844 kB / 351.6 MB, free: 2.484 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.1374, allocations: 168.4 kB / 351.8 MB, free: 2.281 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1374, allocations: 384 / 351.8 MB, free: 2.281 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.1374, allocations: 8.375 kB / 351.8 MB, free: 2.273 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004142/0.1378, allocations: 119.6 kB / 351.9 MB, free: 2.145 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1379, allocations: 3.938 kB / 351.9 MB, free: 2.141 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1379, allocations: 0 / 351.9 MB, free: 2.141 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1379, allocations: 0 / 351.9 MB, free: 2.141 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.138, allocations: 19.98 kB / 351.9 MB, free: 2.121 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002343/0.1382, allocations: 157.7 kB / 352.1 MB, free: 1.918 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.1385, allocations: 50.55 kB / 352.1 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.936e-05/0.1386, allocations: 28.92 kB / 352.2 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.1386, allocations: 0 / 352.2 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.1386, allocations: 34.5 kB / 352.2 MB, free: 1.785 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.1386, allocations: 8 kB / 352.2 MB, free: 1.777 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003361/0.139, allocations: 69.61 kB / 352.3 MB, free: 1.703 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.1391, allocations: 55.41 kB / 352.3 MB, free: 1.637 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.1392, allocations: 105.8 kB / 352.4 MB, free: 1.523 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.1392, allocations: 25.7 kB / 352.5 MB, free: 1.492 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.1393, allocations: 84.12 kB / 352.5 MB, free: 1.406 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.1393, allocations: 8 kB / 352.6 MB, free: 1.398 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.1394, allocations: 13.7 kB / 352.6 MB, free: 1.379 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1396, allocations: 322.8 kB / 352.9 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.1396, allocations: 0 / 352.9 MB, free: 1.055 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.357e-05/0.1396, allocations: 31.36 kB / 352.9 MB, free: 1.012 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.33e-05/0.1397, allocations: 35.44 kB / 352.9 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.1397, allocations: 3.938 kB / 353 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001623/0.1399, allocations: 57.53 kB / 353 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.1399, allocations: 7.938 kB / 353 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.14, allocations: 4 kB / 353 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.14, allocations: 0 / 353 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.322e-05/0.1401, allocations: 12 kB / 353 MB, free: 0.875 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1401, allocations: 0 / 353 MB, free: 0.875 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.351e-05/0.1401, allocations: 8.062 kB / 353 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.1402, allocations: 4 kB / 353 MB, free: 0.8633 MB / 286.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 0.0001172/0.1403, allocations: 113.8 kB / 353.2 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.1404, allocations: 61.89 kB / 353.2 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.1405, allocations: 7.891 kB / 353.2 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1405, allocations: 3.984 kB / 353.2 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.1405, allocations: 4 kB / 353.2 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.1405, allocations: 3.938 kB / 353.2 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.1407, allocations: 157.7 kB / 353.4 MB, free: 456 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.1407, allocations: 3.984 kB / 353.4 MB, free: 452 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.222e-05/0.1407, allocations: 4 kB / 353.4 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.1408, allocations: 7.938 kB / 353.4 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1408, allocations: 4 kB / 353.4 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1408, allocations: 0 / 353.4 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.1408, allocations: 256 / 353.4 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.141, allocations: 88.95 kB / 353.5 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.1411, allocations: 81.11 kB / 353.6 MB, free: 228 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.1411, allocations: 7.938 kB / 353.6 MB, free: 220 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.322e-05/0.1412, allocations: 7.984 kB / 353.6 MB, free: 212 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.166e-05/0.1412, allocations: 0 / 353.6 MB, free: 212 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.1412, allocations: 0 / 353.6 MB, free: 212 kB / 286.1 MB Notification: Performance of sorting global known variables: time 6.229e-05/0.1413, allocations: 87.28 kB / 353.7 MB, free: 124 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1413, allocations: 0 / 353.7 MB, free: 124 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002905/0.1416, allocations: 0 / 353.7 MB, free: 124 kB / 286.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.0005925/0.1422, allocations: 0.6317 MB / 354.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.1423, allocations: 19.98 kB / 354.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1424, allocations: 4 kB / 354.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.1424, allocations: 0 / 354.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.1427, allocations: 33.89 kB / 354.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.1441, allocations: 1.156 MB / 355.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.1446, allocations: 0.6848 MB / 356.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.023e-05/0.1446, allocations: 4.078 kB / 356.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.286e-05/0.1446, allocations: 15.38 kB / 356.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1447, allocations: 0 / 356.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01406/0.1587, allocations: 1.093 MB / 357.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002894/0.1591, allocations: 222.2 kB / 357.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.12, allocations: 0 / 357.5 MB, free: 12.21 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches