Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.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.TimeBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedStep",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.0009658/0.0009659, allocations: 177.5 kB / 16.11 MB, free: 5.691 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.629/1.629, allocations: 205 MB / 221.9 MB, free: 9.156 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.0007108/0.0007107, allocations: 89.7 kB / 269.9 MB, free: 8.68 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.08339/0.08339, allocations: 12.57 MB / 330.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003458, allocations: 12 kB / 391.2 MB, free: 66.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08655/0.08691, allocations: 49.98 MB / 441.1 MB, free: 16.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001305/0.08826, allocations: 1.155 MB / 442.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002212/0.0885, allocations: 95.69 kB / 442.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.923e-05/0.08857, allocations: 0 / 442.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.681e-05/0.0886, allocations: 0 / 442.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.98e-05/0.08865, allocations: 0 / 442.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.0889, allocations: 27.91 kB / 442.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.141e-05/0.08899, allocations: 19.92 kB / 442.4 MB, free: 15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.08911, allocations: 15.94 kB / 442.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.991e-05/0.08915, allocations: 4 kB / 442.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.245e-05/0.0892, allocations: 15.92 kB / 442.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.08922, allocations: 0 / 442.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.08924, allocations: 0 / 442.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.08926, allocations: 4 kB / 442.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.08931, allocations: 11.88 kB / 442.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.97e-05/0.08939, allocations: 32.11 kB / 442.5 MB, free: 14.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.0894, allocations: 0 / 442.5 MB, free: 14.92 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.08941, allocations: 0 / 442.5 MB, free: 14.92 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.08942, allocations: 0 / 442.5 MB, free: 14.92 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.0004051/0.08983, allocations: 331.5 kB / 442.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.08989, allocations: 12.03 kB / 442.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.158e-05/0.08993, allocations: 30.75 kB / 442.9 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.08996, allocations: 12.83 kB / 442.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.09014, allocations: 172.3 kB / 443.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.09017, allocations: 4.359 kB / 443.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.09019, allocations: 12.3 kB / 443.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.09049, allocations: 103.8 kB / 443.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.09051, allocations: 3.938 kB / 443.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.09053, allocations: 0 / 443.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.09054, allocations: 4 kB / 443.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.279e-05/0.09062, allocations: 15.98 kB / 443.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.09079, allocations: 165.6 kB / 443.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.09092, allocations: 50.55 kB / 443.4 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.217e-05/0.09099, allocations: 20.89 kB / 443.4 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.09102, allocations: 0 / 443.4 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.09105, allocations: 42.53 kB / 443.5 MB, free: 13.78 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.09106, allocations: 0 / 443.5 MB, free: 13.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002056/0.09127, allocations: 65.62 kB / 443.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.09132, allocations: 55.41 kB / 443.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.867e-05/0.09139, allocations: 101.8 kB / 443.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.0914, allocations: 25.7 kB / 443.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.739e-05/0.09144, allocations: 92.12 kB / 443.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.234e-06/0.09145, allocations: 0 / 443.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.09148, allocations: 13.72 kB / 443.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.204e-05/0.09154, allocations: 326.8 kB / 444.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-06/0.09156, allocations: 0 / 444.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.239e-05/0.09159, allocations: 31.38 kB / 444.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.478e-05/0.09163, allocations: 35.42 kB / 444.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.09164, allocations: 3.938 kB / 444.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.915e-05/0.0917, allocations: 53.64 kB / 444.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.09172, allocations: 7.938 kB / 444.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.09173, allocations: 4 kB / 444.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.09175, allocations: 0 / 444.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.682e-05/0.09181, allocations: 7.984 kB / 444.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.09182, allocations: 4.125 kB / 444.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.082e-05/0.09185, allocations: 3.906 kB / 444.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.09185, allocations: 4 kB / 444.3 MB, free: 12.88 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: 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 7.377e-05/0.09193, allocations: 114.7 kB / 444.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.078e-05/0.09202, allocations: 57.62 kB / 444.5 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.09206, allocations: 3.5 kB / 444.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.09207, allocations: 336 / 444.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.09208, allocations: 0 / 444.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.09209, allocations: 4 kB / 444.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.93e-05/0.09217, allocations: 157.7 kB / 444.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.09218, allocations: 0 / 444.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.827e-05/0.0922, allocations: 7.984 kB / 444.6 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.09221, allocations: 3.938 kB / 444.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.433e-06/0.09222, allocations: 7.938 kB / 444.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.09223, allocations: 0 / 444.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.09223, allocations: 0 / 444.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.09235, allocations: 89.05 kB / 444.7 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.09238, allocations: 85.02 kB / 444.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.09239, allocations: 3.938 kB / 444.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.807e-05/0.09242, allocations: 256 / 444.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-06/0.09243, allocations: 0 / 444.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.09244, allocations: 8 kB / 444.8 MB, free: 12.24 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.799e-05/0.09247, allocations: 83.27 kB / 444.9 MB, free: 12.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.09248, allocations: 0 / 444.9 MB, free: 12.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001747/0.09266, allocations: 4 kB / 444.9 MB, free: 12.15 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: 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.0002767/0.09294, allocations: 0.6163 MB / 445.5 MB, free: 11.51 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.737e-05/0.09304, allocations: 23.92 kB / 445.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.09305, allocations: 0 / 445.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.51e-07/0.09305, allocations: 4.25 kB / 445.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.09325, allocations: 27.92 kB / 445.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006941/0.09396, allocations: 1.14 MB / 446.7 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.09407, allocations: 0.6809 MB / 447.4 MB, free: 9.504 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.068e-05/0.09409, allocations: 256 / 447.4 MB, free: 9.504 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.03e-05/0.09413, allocations: 15.44 kB / 447.4 MB, free: 9.488 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.09413, allocations: 0 / 447.4 MB, free: 9.488 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.1139, allocations: 1.039 MB / 448.5 MB, free: 8.445 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/0.1141, allocations: 233.3 kB / 448.7 MB, free: 8.188 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/1.692, allocations: 3.938 kB / 448.7 MB, free: 8.184 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches