Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SuperSample",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.000959/0.0009588, allocations: 176.4 kB / 16.12 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.217/1.217, allocations: 205 MB / 221.9 MB, free: 9.148 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.000678/0.000678, allocations: 97.09 kB / 269.9 MB, free: 8.676 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.06819/0.06819, allocations: 12.57 MB / 330.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003262, allocations: 16 kB / 391.2 MB, free: 66.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07517/0.07552, allocations: 49.97 MB / 441.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample): time 0.001735/0.07729, allocations: 1.586 MB / 442.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.0785, allocations: 1.061 MB / 443.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.783e-05/0.0786, allocations: 3.938 kB / 443.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.07888, allocations: 59.8 kB / 443.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.07905, allocations: 87.7 kB / 443.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005073/0.07957, allocations: 223.6 kB / 444.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.07978, allocations: 151.5 kB / 444.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.0799, allocations: 33.52 kB / 444.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.397e-05/0.07998, allocations: 59.72 kB / 444.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.08e-05/0.08007, allocations: 71.62 kB / 444.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.08009, allocations: 4 kB / 444.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.08021, allocations: 59.95 kB / 444.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.416e-05/0.08028, allocations: 39.84 kB / 444.6 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.737e-05/0.08034, allocations: 75.41 kB / 444.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.08055, allocations: 219.5 kB / 444.8 MB, free: 12.56 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.08057, allocations: 0 / 444.8 MB, free: 12.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.08057, allocations: 0 / 444.8 MB, free: 12.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.08058, allocations: 0 / 444.8 MB, free: 12.56 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005846/0.08117, allocations: 0.4962 MB / 445.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.08122, allocations: 12.03 kB / 445.4 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.407e-05/0.08126, allocations: 42.73 kB / 445.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.08132, allocations: 24.66 kB / 445.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.08158, allocations: 279.6 kB / 445.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.0816, allocations: 8.375 kB / 445.7 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.08162, allocations: 7.938 kB / 445.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.08191, allocations: 159.5 kB / 445.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.08193, allocations: 0 / 445.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.08195, allocations: 4 kB / 445.9 MB, free: 11.4 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.08196, allocations: 4 kB / 445.9 MB, free: 11.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.231e-05/0.08206, allocations: 31.92 kB / 445.9 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.08245, allocations: 394.3 kB / 446.3 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.08265, allocations: 119.8 kB / 446.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.778e-05/0.08273, allocations: 46.56 kB / 446.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.08276, allocations: 4 kB / 446.5 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.08293, allocations: 75.38 kB / 446.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.08294, allocations: 0 / 446.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003072/0.08325, allocations: 153.5 kB / 446.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.08331, allocations: 170.1 kB / 446.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.08354, allocations: 334.5 kB / 447.2 MB, free: 9.941 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.08356, allocations: 25.7 kB / 447.2 MB, free: 9.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.08362, allocations: 128.1 kB / 447.3 MB, free: 9.781 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.08364, allocations: 15.81 kB / 447.3 MB, free: 9.766 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.08367, allocations: 21.7 kB / 447.4 MB, free: 9.738 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.08376, allocations: 334.9 kB / 447.7 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.998e-05/0.08383, allocations: 20 kB / 447.7 MB, free: 9.383 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.948e-05/0.08392, allocations: 90.78 kB / 447.8 MB, free: 9.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.08404, allocations: 84.22 kB / 447.9 MB, free: 9.172 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.08405, allocations: 0 / 447.9 MB, free: 9.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001751/0.08423, allocations: 117.4 kB / 448 MB, free: 9.051 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.08426, allocations: 8 kB / 448 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.08427, allocations: 0 / 448 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.08428, allocations: 4 kB / 448 MB, free: 9.039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.022e-05/0.08438, allocations: 20.06 kB / 448 MB, free: 9.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.08439, allocations: 7.984 kB / 448 MB, free: 9.012 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.902e-05/0.08447, allocations: 19.78 kB / 448.1 MB, free: 8.992 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.08448, allocations: 4 kB / 448.1 MB, free: 8.988 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample.y,superSample.u,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.405e-05/0.08458, allocations: 149.9 kB / 448.2 MB, free: 8.832 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.254e-05/0.08465, allocations: 69.34 kB / 448.3 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.489e-05/0.0847, allocations: 25.7 kB / 448.3 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.08471, allocations: 8.062 kB / 448.3 MB, free: 8.727 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.08472, allocations: 0 / 448.3 MB, free: 8.727 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.08473, allocations: 3.938 kB / 448.3 MB, free: 8.723 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.08486, allocations: 237.6 kB / 448.5 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.08487, allocations: 3.938 kB / 448.5 MB, free: 8.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.596e-05/0.08493, allocations: 15.98 kB / 448.6 MB, free: 8.422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.08494, allocations: 3.938 kB / 448.6 MB, free: 8.418 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.08496, allocations: 4 kB / 448.6 MB, free: 8.414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.08496, allocations: 8.25 kB / 448.6 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.08497, allocations: 0 / 448.6 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.08517, allocations: 174.4 kB / 448.7 MB, free: 8.211 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.08524, allocations: 108.9 kB / 448.9 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.08527, allocations: 4 kB / 448.9 MB, free: 8.082 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.979e-05/0.08534, allocations: 4 kB / 448.9 MB, free: 8.078 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.08539, allocations: 11.92 kB / 448.9 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.08542, allocations: 12 kB / 448.9 MB, free: 8.055 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001644/0.08559, allocations: 241.9 kB / 449.1 MB, free: 7.816 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08559, allocations: 0 / 449.1 MB, free: 7.816 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002266/0.08583, allocations: 35.94 kB / 449.2 MB, free: 7.781 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample.y,sample.y,superSample.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001121/0.08695, allocations: 1.009 MB / 450.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.08716, allocations: 75.84 kB / 450.2 MB, free: 6.664 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.08717, allocations: 3.938 kB / 450.2 MB, free: 6.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.034e-05/0.08725, allocations: 27.98 kB / 450.3 MB, free: 6.633 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.08763, allocations: 56.48 kB / 450.3 MB, free: 6.578 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.08953, allocations: 2.227 MB / 452.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.0897, allocations: 0.74 MB / 453.3 MB, free: 3.469 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.422e-05/0.08978, allocations: 33.52 kB / 453.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.052e-05/0.08986, allocations: 55.42 kB / 453.4 MB, free: 3.387 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.08986, allocations: 0 / 453.4 MB, free: 3.387 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2181/0.308, allocations: 4.701 MB / 458.1 MB, free: 14.67 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002471/0.3083, allocations: 277.8 kB / 458.3 MB, free: 14.3 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.163/2.471, allocations: 0 / 458.3 MB, free: 14.3 MB / 314.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches