Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.001512/0.001512, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001636/0.001636, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.426/1.426, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002464/0.002464, allocations: 51.92 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1231, allocations: 53.34 MB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003227/0.1264, allocations: 1.431 MB / 427.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003179/0.1267, allocations: 107.6 kB / 427.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.057e-05/0.1268, allocations: 4 kB / 427.9 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.023e-05/0.1268, allocations: 3.938 kB / 427.9 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.135e-05/0.1268, allocations: 0 / 427.9 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.1271, allocations: 23.91 kB / 427.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.246e-05/0.1272, allocations: 27.92 kB / 427.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.1273, allocations: 8 kB / 427.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.113e-05/0.1273, allocations: 11.94 kB / 427.9 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.002e-05/0.1273, allocations: 11.91 kB / 427.9 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.1273, allocations: 4 kB / 427.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.063e-06/0.1274, allocations: 0 / 427.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.1274, allocations: 8 kB / 428 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.1274, allocations: 15.94 kB / 428 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.943e-05/0.1275, allocations: 23.84 kB / 428 MB, free: 3.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1275, allocations: 0 / 428 MB, free: 3.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1275, allocations: 0 / 428 MB, free: 3.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.1275, allocations: 7.922 kB / 428 MB, free: 3.098 MB / 350.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.0004528/0.128, allocations: 335.5 kB / 428.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.128, allocations: 12.03 kB / 428.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.69e-05/0.128, allocations: 30.75 kB / 428.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.56e-05/0.1281, allocations: 0.9375 kB / 428.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.1283, allocations: 196.2 kB / 428.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.1284, allocations: 384 / 428.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.1284, allocations: 8.375 kB / 428.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.1287, allocations: 95.88 kB / 428.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1287, allocations: 7.938 kB / 428.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1287, allocations: 4 kB / 428.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.1287, allocations: 3.984 kB / 428.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.801e-05/0.1288, allocations: 11.98 kB / 428.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.129, allocations: 153.7 kB / 428.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.1291, allocations: 46.5 kB / 428.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.702e-05/0.1292, allocations: 20.92 kB / 428.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.1292, allocations: 4 kB / 428.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.1292, allocations: 38.56 kB / 428.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1292, allocations: 0 / 428.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002318/0.1295, allocations: 65.56 kB / 429 MB, free: 1.898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.1295, allocations: 59.34 kB / 429.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.1296, allocations: 105.8 kB / 429.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1297, allocations: 25.7 kB / 429.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.1297, allocations: 84.14 kB / 429.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.257e-06/0.1297, allocations: 4 kB / 429.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.1297, allocations: 17.66 kB / 429.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1299, allocations: 322.8 kB / 429.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.109e-05/0.1299, allocations: 0 / 429.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.334e-05/0.13, allocations: 23.44 kB / 429.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.702e-05/0.13, allocations: 43.38 kB / 429.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.13, allocations: 0 / 429.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.845e-05/0.1301, allocations: 53.62 kB / 429.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1301, allocations: 7.938 kB / 429.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1301, allocations: 4 kB / 429.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1301, allocations: 4.125 kB / 429.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.704e-05/0.1302, allocations: 11.88 kB / 429.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.1302, allocations: 3.984 kB / 429.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.168e-05/0.1302, allocations: 4 kB / 429.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.1302, allocations: 7.984 kB / 429.8 MB, free: 1.055 MB / 350.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 9.398e-05/0.1303, allocations: 109.8 kB / 429.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.1304, allocations: 57.58 kB / 429.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.1305, allocations: 7.5 kB / 429.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.1305, allocations: 0 / 429.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1305, allocations: 4 kB / 430 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1305, allocations: 0 / 430 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.1306, allocations: 157.7 kB / 430.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1306, allocations: 0 / 430.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.123e-05/0.1306, allocations: 4.188 kB / 430.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1306, allocations: 7.938 kB / 430.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.1306, allocations: 4 kB / 430.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1306, allocations: 0 / 430.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1306, allocations: 0 / 430.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.1308, allocations: 81.44 kB / 430.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.1308, allocations: 92.98 kB / 430.3 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.1308, allocations: 7.938 kB / 430.3 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.933e-05/0.1309, allocations: 0 / 430.3 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-06/0.1309, allocations: 0 / 430.3 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.1309, allocations: 4 kB / 430.3 MB, free: 428 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.382e-05/0.1309, allocations: 79.28 kB / 430.4 MB, free: 348 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1309, allocations: 0 / 430.4 MB, free: 348 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001803/0.1311, allocations: 4 kB / 430.4 MB, free: 344 kB / 350.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.000486/0.1316, allocations: 0.6202 MB / 431 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.1317, allocations: 23.92 kB / 431 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1317, allocations: 4 kB / 431 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.1317, allocations: 256 / 431 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.1319, allocations: 23.92 kB / 431.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.133, allocations: 1.15 MB / 432.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.1333, allocations: 0.6846 MB / 432.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.375e-05/0.1334, allocations: 3.938 kB / 432.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.1334, allocations: 7.438 kB / 432.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1334, allocations: 4 kB / 432.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.1561, allocations: 1.234 MB / 434.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.532/7.688, allocations: 9.328 kB / 434.1 MB, free: 12.55 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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: 10.197453545872122]