Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_Sample1",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.001051/0.001051, allocations: 173.2 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.401/1.401, allocations: 205 MB / 221.9 MB, free: 9.145 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.0007153/0.0007152, allocations: 86.31 kB / 269.9 MB, free: 8.672 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.07344/0.07344, allocations: 12.57 MB / 330.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005097/0.0005098, allocations: 12 kB / 391.2 MB, free: 66.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08133/0.08186, allocations: 49.98 MB / 441.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1): time 0.001157/0.08304, allocations: 1.234 MB / 442.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002351/0.08329, allocations: 135.6 kB / 442.5 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.828e-05/0.08335, allocations: 0 / 442.5 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.628e-05/0.0834, allocations: 7.922 kB / 442.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.017e-05/0.08348, allocations: 4 kB / 442.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.08366, allocations: 31.91 kB / 442.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.916e-05/0.08373, allocations: 35.86 kB / 442.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.948e-05/0.08379, allocations: 12 kB / 442.6 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.95e-05/0.08382, allocations: 19.91 kB / 442.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.505e-05/0.08385, allocations: 7.938 kB / 442.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.08387, allocations: 4 kB / 442.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.354e-06/0.08388, allocations: 0 / 442.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.257e-05/0.08392, allocations: 11.92 kB / 442.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.08395, allocations: 19.88 kB / 442.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.37e-05/0.08401, allocations: 43.75 kB / 442.7 MB, free: 14.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.08401, allocations: 4 kB / 442.7 MB, free: 14.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.08402, allocations: 7.938 kB / 442.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.08403, allocations: 0 / 442.7 MB, free: 14.71 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002422/0.08428, allocations: 359.5 kB / 443.1 MB, free: 14.31 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.472e-05/0.08431, allocations: 8.031 kB / 443.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.882e-05/0.08434, allocations: 42.67 kB / 443.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.779e-05/0.08437, allocations: 12.83 kB / 443.1 MB, free: 14.24 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.389e-05/0.08446, allocations: 180.3 kB / 443.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-06/0.08448, allocations: 384 / 443.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.08449, allocations: 12.38 kB / 443.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.08468, allocations: 113.6 kB / 443.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.08469, allocations: 3.938 kB / 443.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.899e-06/0.0847, allocations: 0 / 443.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-06/0.08471, allocations: 0 / 443.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.388e-05/0.08478, allocations: 31.92 kB / 443.5 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.08496, allocations: 265.7 kB / 443.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.0851, allocations: 146.2 kB / 443.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.005e-05/0.08516, allocations: 29.77 kB / 443.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.08518, allocations: 4 kB / 443.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.686e-06/0.08519, allocations: 30.56 kB / 443.9 MB, free: 13.28 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.0852, allocations: 0 / 443.9 MB, free: 13.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001759/0.08538, allocations: 81.61 kB / 444 MB, free: 13.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.08543, allocations: 89.09 kB / 444.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.927e-05/0.08551, allocations: 141.9 kB / 444.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.612e-06/0.08552, allocations: 25.7 kB / 444.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.426e-05/0.08555, allocations: 92.08 kB / 444.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.771e-06/0.08557, allocations: 4.125 kB / 444.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/0.08559, allocations: 13.7 kB / 444.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.609e-05/0.08563, allocations: 318.8 kB / 444.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.174e-05/0.08567, allocations: 4 kB / 444.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.246e-05/0.08571, allocations: 39.42 kB / 444.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.227e-05/0.08577, allocations: 51.36 kB / 444.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.08578, allocations: 3.938 kB / 444.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.668e-05/0.08588, allocations: 69.61 kB / 444.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/0.0859, allocations: 8 kB / 444.8 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.08591, allocations: 0 / 444.8 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-06/0.08592, allocations: 0 / 444.8 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.495e-05/0.08597, allocations: 11.94 kB / 444.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.08598, allocations: 7.938 kB / 444.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.918e-05/0.08602, allocations: 11.89 kB / 444.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.08603, allocations: 128 / 444.9 MB, free: 12.23 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: 4 (step.y,sample.y,assignClock.y,assignClock.u) * 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 4.571e-05/0.08608, allocations: 126.7 kB / 445 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.08613, allocations: 41.69 kB / 445 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.062e-05/0.08616, allocations: 12.25 kB / 445.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.08617, allocations: 336 / 445.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.08617, allocations: 4 kB / 445.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.08618, allocations: 0 / 445.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.08629, allocations: 177.5 kB / 445.2 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.08629, allocations: 0 / 445.2 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.08634, allocations: 15.98 kB / 445.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.08635, allocations: 3.938 kB / 445.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.08636, allocations: 4 kB / 445.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.08637, allocations: 3.984 kB / 445.3 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.08637, allocations: 0 / 445.3 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.08648, allocations: 172.3 kB / 445.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.08652, allocations: 93 kB / 445.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.08654, allocations: 0 / 445.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.275e-05/0.0866, allocations: 4 kB / 445.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.08663, allocations: 0 / 445.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.08664, allocations: 3.938 kB / 445.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.011e-05/0.08668, allocations: 107.2 kB / 445.6 MB, free: 11.37 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.08669, allocations: 0 / 445.6 MB, free: 11.37 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001882/0.08688, allocations: 4 kB / 445.6 MB, free: 11.37 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample.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.0002927/0.08718, allocations: 0.7131 MB / 446.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.0873, allocations: 39.92 kB / 446.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.08731, allocations: 0 / 446.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.002e-05/0.08734, allocations: 7.984 kB / 446.4 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.08765, allocations: 28.03 kB / 446.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009961/0.08866, allocations: 1.347 MB / 447.8 MB, free: 9.102 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.08884, allocations: 0.6848 MB / 448.4 MB, free: 8.391 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.275e-05/0.08887, allocations: 3.984 kB / 448.5 MB, free: 8.387 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.08891, allocations: 19.38 kB / 448.5 MB, free: 8.367 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.08891, allocations: 3.938 kB / 448.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08283/0.1717, allocations: 1.239 MB / 449.7 MB, free: 7.121 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/0.1719, allocations: 221.9 kB / 449.9 MB, free: 6.867 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/2.12, allocations: 4 kB / 449.9 MB, free: 6.863 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_Sample1.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches