Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 180.8 kB / 16.11 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205 MB / 221.9 MB, free: 9.164 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007752/0.0007751, allocations: 89.19 kB / 269.9 MB, free: 8.691 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09148/0.09148, allocations: 12.56 MB / 330.4 MB, free: 12.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003367, allocations: 8 kB / 391.2 MB, free: 66.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08861/0.08897, allocations: 49.98 MB / 441.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.00158/0.0906, allocations: 1.14 MB / 442.3 MB, free: 15.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001488/0.09078, allocations: 31.84 kB / 442.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.375e-05/0.09086, allocations: 4 kB / 442.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.935e-05/0.0909, allocations: 0 / 442.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.896e-05/0.09094, allocations: 0 / 442.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.09119, allocations: 23.91 kB / 442.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.908e-05/0.09127, allocations: 16 kB / 442.4 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.005e-05/0.09136, allocations: 15.98 kB / 442.4 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.022e-05/0.09141, allocations: 7.938 kB / 442.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.662e-05/0.09147, allocations: 19.91 kB / 442.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.09149, allocations: 0 / 442.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.368e-06/0.09153, allocations: 4 kB / 442.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.09155, allocations: 0 / 442.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.09159, allocations: 15.88 kB / 442.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.414e-05/0.09166, allocations: 28.17 kB / 442.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.09167, allocations: 0 / 442.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.09168, allocations: 0 / 442.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.09169, allocations: 0 / 442.4 MB, free: 14.98 MB / 298.7 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.0003091/0.09201, allocations: 339.4 kB / 442.8 MB, free: 14.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.09205, allocations: 11.97 kB / 442.8 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.694e-05/0.09209, allocations: 38.75 kB / 442.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.104e-05/0.09211, allocations: 8.828 kB / 442.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.09223, allocations: 168.4 kB / 443 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.09226, allocations: 8.375 kB / 443 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.09227, allocations: 4.312 kB / 443 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.09255, allocations: 119.9 kB / 443.1 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.09257, allocations: 3.938 kB / 443.1 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.994e-06/0.09258, allocations: 0 / 443.1 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.09259, allocations: 0 / 443.1 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.596e-05/0.09268, allocations: 23.92 kB / 443.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.83e-05/0.09278, allocations: 161.7 kB / 443.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.09289, allocations: 50.59 kB / 443.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/0.09296, allocations: 28.89 kB / 443.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.09297, allocations: 0 / 443.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.348e-05/0.09299, allocations: 30.56 kB / 443.4 MB, free: 13.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.093, allocations: 0 / 443.4 MB, free: 13.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002009/0.0932, allocations: 89.42 kB / 443.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.09325, allocations: 59.41 kB / 443.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.284e-05/0.09329, allocations: 105.8 kB / 443.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.83e-06/0.09331, allocations: 29.7 kB / 443.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.771e-05/0.09333, allocations: 80.14 kB / 443.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/0.09335, allocations: 3.938 kB / 443.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/0.09337, allocations: 17.72 kB / 443.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.569e-05/0.09342, allocations: 314.8 kB / 444.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.047e-05/0.09344, allocations: 8 kB / 444.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.998e-05/0.09346, allocations: 23.44 kB / 444.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.081e-05/0.0935, allocations: 39.38 kB / 444.2 MB, free: 13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.09351, allocations: 0 / 444.2 MB, free: 13 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.06e-05/0.09358, allocations: 69.47 kB / 444.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.0936, allocations: 7.938 kB / 444.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.09361, allocations: 4.125 kB / 444.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.09363, allocations: 4 kB / 444.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.871e-05/0.09367, allocations: 7.984 kB / 444.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.09368, allocations: 0 / 444.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.089e-05/0.09371, allocations: 3.938 kB / 444.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-06/0.09372, allocations: 4 kB / 444.3 MB, free: 12.89 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.329e-05/0.09378, allocations: 114.7 kB / 444.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.0939, allocations: 69.55 kB / 444.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.865e-05/0.09393, allocations: 7.5 kB / 444.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.09393, allocations: 4 kB / 444.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.09394, allocations: 0 / 444.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-06/0.09395, allocations: 0 / 444.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.379e-05/0.09401, allocations: 161.6 kB / 444.6 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.09401, allocations: 0 / 444.6 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.951e-05/0.09405, allocations: 4 kB / 444.6 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.09406, allocations: 3.938 kB / 444.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.09407, allocations: 0 / 444.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.09407, allocations: 0 / 444.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.09408, allocations: 0 / 444.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.09421, allocations: 96.95 kB / 444.7 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.655e-05/0.09423, allocations: 81.09 kB / 444.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.09425, allocations: 12.31 kB / 444.8 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.599e-05/0.09428, allocations: 0 / 444.8 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-06/0.09429, allocations: 3.938 kB / 444.8 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.0943, allocations: 8 kB / 444.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.823e-05/0.09432, allocations: 79.28 kB / 444.9 MB, free: 12.15 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09433, allocations: 0 / 444.9 MB, free: 12.15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000171/0.09451, allocations: 12 kB / 444.9 MB, free: 12.14 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0003491/0.09486, allocations: 0.6358 MB / 445.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.405e-05/0.09496, allocations: 31.92 kB / 445.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.09497, allocations: 320 / 445.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.09498, allocations: 4 kB / 445.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.09518, allocations: 35.97 kB / 445.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006767/0.09587, allocations: 1.152 MB / 446.8 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.864e-05/0.09598, allocations: 0.6848 MB / 447.5 MB, free: 9.441 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.132e-05/0.096, allocations: 3.906 kB / 447.5 MB, free: 9.438 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.09603, allocations: 19.42 kB / 447.5 MB, free: 9.418 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.09603, allocations: 0 / 447.5 MB, free: 9.418 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01572/0.1118, allocations: 1.106 MB / 448.6 MB, free: 8.312 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001344/0.1119, allocations: 229.5 kB / 448.8 MB, free: 8.059 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/1.72, allocations: 0 / 448.8 MB, free: 8.059 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches