Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_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.0007494/0.0007494, allocations: 172.3 kB / 16.11 MB, free: 5.574 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.493/1.493, allocations: 205 MB / 221.9 MB, free: 1.852 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008514/0.0008513, allocations: 98.23 kB / 269.9 MB, free: 1.789 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.07261/0.07261, allocations: 12.59 MB / 330.4 MB, free: 29.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003949, allocations: 8 kB / 391.2 MB, free: 376 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2521, allocations: 49.97 MB / 441.1 MB, free: 47.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001254/0.2534, allocations: 1.15 MB / 442.3 MB, free: 46.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001435/0.2535, allocations: 34.16 kB / 442.3 MB, free: 46.65 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.024e-05/0.2536, allocations: 5.281 kB / 442.3 MB, free: 46.65 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.493e-05/0.2536, allocations: 0 / 442.3 MB, free: 46.65 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 3.3e-05/0.2536, allocations: 1 kB / 442.3 MB, free: 46.65 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.2539, allocations: 30.55 kB / 442.4 MB, free: 46.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.22e-05/0.2539, allocations: 28.02 kB / 442.4 MB, free: 46.61 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.369e-05/0.254, allocations: 4.562 kB / 442.4 MB, free: 46.61 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.838e-05/0.254, allocations: 11.19 kB / 442.4 MB, free: 46.6 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.318e-05/0.2541, allocations: 19.31 kB / 442.4 MB, free: 46.59 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.2541, allocations: 1.094 kB / 442.4 MB, free: 46.59 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-06/0.2541, allocations: 1.562 kB / 442.4 MB, free: 46.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.2541, allocations: 5.375 kB / 442.4 MB, free: 46.58 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.2542, allocations: 14.38 kB / 442.4 MB, free: 46.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.063e-05/0.2542, allocations: 26.17 kB / 442.5 MB, free: 46.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2542, allocations: 0 / 442.5 MB, free: 46.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2542, allocations: 1.375 kB / 442.5 MB, free: 46.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.2543, allocations: 0 / 442.5 MB, free: 46.55 MB / 314.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.0002779/0.2545, allocations: 346.4 kB / 442.8 MB, free: 46.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.2546, allocations: 8.906 kB / 442.8 MB, free: 46.18 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.254e-05/0.2546, allocations: 32.56 kB / 442.8 MB, free: 46.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.981e-05/0.2546, allocations: 11.34 kB / 442.9 MB, free: 46.13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.2547, allocations: 177 kB / 443 MB, free: 45.92 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.2548, allocations: 1.156 kB / 443 MB, free: 45.92 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.2548, allocations: 2.812 kB / 443 MB, free: 45.92 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.2551, allocations: 125.2 kB / 443.2 MB, free: 45.83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.2551, allocations: 3.938 kB / 443.2 MB, free: 45.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.2551, allocations: 0 / 443.2 MB, free: 45.83 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.2551, allocations: 9.125 kB / 443.2 MB, free: 45.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.2552, allocations: 24.45 kB / 443.2 MB, free: 45.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.28e-05/0.2553, allocations: 157.6 kB / 443.3 MB, free: 45.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.2555, allocations: 59.36 kB / 443.4 MB, free: 45.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.681e-05/0.2555, allocations: 27.11 kB / 443.4 MB, free: 45.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.2556, allocations: 0 / 443.4 MB, free: 45.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.2556, allocations: 43.62 kB / 443.5 MB, free: 45.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.2556, allocations: 1.094 kB / 443.5 MB, free: 45.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002314/0.2558, allocations: 85.75 kB / 443.6 MB, free: 45.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.2559, allocations: 53.69 kB / 443.6 MB, free: 45.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.66e-05/0.2559, allocations: 105.8 kB / 443.7 MB, free: 45.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.54e-06/0.2559, allocations: 25.7 kB / 443.7 MB, free: 45.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.807e-05/0.256, allocations: 86.02 kB / 443.8 MB, free: 45.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.126e-05/0.256, allocations: 4.891 kB / 443.8 MB, free: 45.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/0.256, allocations: 14.91 kB / 443.8 MB, free: 45.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.519e-05/0.256, allocations: 316.2 kB / 444.1 MB, free: 44.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.119e-05/0.2561, allocations: 4.062 kB / 444.2 MB, free: 44.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.2561, allocations: 36.05 kB / 444.2 MB, free: 44.78 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.384e-05/0.2561, allocations: 43.19 kB / 444.2 MB, free: 44.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2561, allocations: 0 / 444.2 MB, free: 44.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.678e-05/0.2562, allocations: 68.25 kB / 444.3 MB, free: 44.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.2562, allocations: 9.438 kB / 444.3 MB, free: 44.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2562, allocations: 1.25 kB / 444.3 MB, free: 44.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.2562, allocations: 1.219 kB / 444.3 MB, free: 44.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.92e-05/0.2563, allocations: 7.594 kB / 444.3 MB, free: 44.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.2563, allocations: 1.781 kB / 444.3 MB, free: 44.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.686e-05/0.2563, allocations: 5.625 kB / 444.3 MB, free: 44.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.2563, allocations: 1.469 kB / 444.3 MB, free: 44.67 MB / 314.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 4.855e-05/0.2564, allocations: 121.6 kB / 444.4 MB, free: 44.54 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.2565, allocations: 69.69 kB / 444.5 MB, free: 44.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.805e-05/0.2565, allocations: 9.281 kB / 444.5 MB, free: 44.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.2566, allocations: 0 / 444.5 MB, free: 44.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.2566, allocations: 0 / 444.5 MB, free: 44.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2566, allocations: 1.25 kB / 444.5 MB, free: 44.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.274e-05/0.2566, allocations: 164.7 kB / 444.7 MB, free: 44.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2566, allocations: 4.906 kB / 444.7 MB, free: 44.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.167e-05/0.2567, allocations: 8.25 kB / 444.7 MB, free: 44.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2567, allocations: 3.938 kB / 444.7 MB, free: 44.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.2567, allocations: 0.9062 kB / 444.7 MB, free: 44.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2567, allocations: 0.9375 kB / 444.7 MB, free: 44.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2567, allocations: 0 / 444.7 MB, free: 44.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.2568, allocations: 94.53 kB / 444.8 MB, free: 44.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.29e-05/0.2569, allocations: 78.73 kB / 444.9 MB, free: 44.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.2569, allocations: 9.125 kB / 444.9 MB, free: 44.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.012e-05/0.2569, allocations: 15.83 kB / 444.9 MB, free: 44.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-06/0.2569, allocations: 0 / 444.9 MB, free: 44.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.2569, allocations: 1.125 kB / 444.9 MB, free: 44.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.022e-05/0.257, allocations: 80 kB / 445 MB, free: 44 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.257, allocations: 1.094 kB / 445 MB, free: 44 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001599/0.2571, allocations: 7.25 kB / 445 MB, free: 43.99 MB / 314.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.0003394/0.2575, allocations: 0.6513 MB / 445.6 MB, free: 43.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.2576, allocations: 27.42 kB / 445.7 MB, free: 43.36 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2576, allocations: 0 / 445.7 MB, free: 43.36 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.2576, allocations: 0 / 445.7 MB, free: 43.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.2579, allocations: 41.27 kB / 445.7 MB, free: 43.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006093/0.2585, allocations: 1.171 MB / 446.9 MB, free: 42.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.151e-05/0.2586, allocations: 0.6804 MB / 447.6 MB, free: 41.44 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.719e-05/0.2586, allocations: 1.281 kB / 447.6 MB, free: 41.44 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.2586, allocations: 22.11 kB / 447.6 MB, free: 41.42 MB / 314.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2586, allocations: 0 / 447.6 MB, free: 41.42 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1634/0.422, allocations: 1.166 MB / 448.7 MB, free: 40.77 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/0.4223, allocations: 238.4 kB / 449 MB, free: 40.5 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/1.97, allocations: 0 / 449 MB, free: 40.5 MB / 314.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches