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.001406/0.001406, allocations: 169.8 kB / 16.14 MB, free: 5.652 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.43/1.43, allocations: 205.4 MB / 222.3 MB, free: 9.023 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.0008296/0.0008296, allocations: 86.69 kB / 270.7 MB, free: 8.25 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.07327/0.07327, allocations: 12.61 MB / 331.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004562/0.0004565, allocations: 12 kB / 392.8 MB, free: 65.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09151/0.09198, allocations: 50.37 MB / 443.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample): time 0.002393/0.09442, allocations: 1.575 MB / 444.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.09613, allocations: 1.038 MB / 445.8 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.09634, allocations: 3.938 kB / 445.8 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004031/0.09676, allocations: 67.78 kB / 445.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.09712, allocations: 79.72 kB / 445.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007776/0.09792, allocations: 211.6 kB / 446.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.09816, allocations: 155.5 kB / 446.3 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.09829, allocations: 29.53 kB / 446.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.09842, allocations: 63.66 kB / 446.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.09853, allocations: 67.69 kB / 446.4 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.09856, allocations: 0 / 446.4 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.09874, allocations: 59.95 kB / 446.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.724e-05/0.09884, allocations: 39.84 kB / 446.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.514e-05/0.09893, allocations: 105 kB / 446.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.09922, allocations: 215.5 kB / 446.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.09923, allocations: 4 kB / 446.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09924, allocations: 0 / 446.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.09925, allocations: 0 / 446.8 MB, free: 11.61 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.0006506/0.09991, allocations: 0.4962 MB / 447.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.09996, allocations: 8.031 kB / 447.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.825e-05/0.1, allocations: 42.73 kB / 447.4 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.575e-05/0.1001, allocations: 24.66 kB / 447.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.1004, allocations: 283.6 kB / 447.7 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.1004, allocations: 4.375 kB / 447.7 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.1005, allocations: 15.88 kB / 447.7 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003098/0.1008, allocations: 151.6 kB / 447.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1008, allocations: 3.984 kB / 447.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.1008, allocations: 4 kB / 447.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1008, allocations: 8 kB / 447.9 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.1009, allocations: 31.92 kB / 447.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.1014, allocations: 394.2 kB / 448.3 MB, free: 9.969 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.1016, allocations: 119.9 kB / 448.4 MB, free: 9.824 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.363e-05/0.1017, allocations: 42.56 kB / 448.4 MB, free: 9.773 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.1018, allocations: 4 kB / 448.4 MB, free: 9.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.102, allocations: 79.38 kB / 448.5 MB, free: 9.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.985e-06/0.102, allocations: 3.938 kB / 448.5 MB, free: 9.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003631/0.1023, allocations: 153.3 kB / 448.7 MB, free: 9.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.1024, allocations: 162.2 kB / 448.8 MB, free: 9.324 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.1027, allocations: 338.8 kB / 449.2 MB, free: 8.984 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1027, allocations: 25.7 kB / 449.2 MB, free: 8.953 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/0.1028, allocations: 128.1 kB / 449.3 MB, free: 8.824 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.1028, allocations: 19.8 kB / 449.3 MB, free: 8.805 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.1028, allocations: 0 / 449.3 MB, free: 8.805 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.926e-05/0.1029, allocations: 326.8 kB / 449.7 MB, free: 8.477 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.369e-05/0.103, allocations: 23.98 kB / 449.7 MB, free: 8.453 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.321e-05/0.1031, allocations: 94.78 kB / 449.8 MB, free: 8.336 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.1032, allocations: 80.22 kB / 449.8 MB, free: 8.242 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1032, allocations: 0 / 449.8 MB, free: 8.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002132/0.1034, allocations: 121.4 kB / 450 MB, free: 8.117 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1035, allocations: 11.94 kB / 450 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1035, allocations: 0 / 450 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1035, allocations: 4 kB / 450 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.1036, allocations: 15.98 kB / 450 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.1036, allocations: 4 kB / 450 MB, free: 8.082 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.519e-05/0.1037, allocations: 15.78 kB / 450 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.1037, allocations: 8.109 kB / 450 MB, free: 8.059 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 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,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 0.0001347/0.1039, allocations: 158.6 kB / 450.2 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.78e-05/0.104, allocations: 65.41 kB / 450.2 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.922e-05/0.104, allocations: 25.7 kB / 450.3 MB, free: 7.801 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.104, allocations: 4 kB / 450.3 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.1041, allocations: 0 / 450.3 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.1041, allocations: 3.938 kB / 450.3 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.1043, allocations: 241.6 kB / 450.5 MB, free: 7.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1043, allocations: 4.062 kB / 450.5 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.582e-05/0.1043, allocations: 19.92 kB / 450.5 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.1043, allocations: 0 / 450.5 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.1044, allocations: 4.25 kB / 450.5 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1044, allocations: 4 kB / 450.5 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.1044, allocations: 4 kB / 450.5 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.1046, allocations: 170.4 kB / 450.7 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.343e-05/0.1047, allocations: 112.9 kB / 450.8 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.1047, allocations: 4 kB / 450.8 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.454e-05/0.1048, allocations: 4 kB / 450.8 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.093e-05/0.1049, allocations: 11.92 kB / 450.8 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.1049, allocations: 8 kB / 450.8 MB, free: 7.125 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000178/0.1051, allocations: 241.9 kB / 451.1 MB, free: 6.887 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1051, allocations: 0 / 451.1 MB, free: 6.887 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002747/0.1054, allocations: 43.84 kB / 451.1 MB, free: 6.844 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.001189/0.1066, allocations: 1.01 MB / 452.1 MB, free: 5.797 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.1068, allocations: 83.78 kB / 452.2 MB, free: 5.715 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1068, allocations: 0 / 452.2 MB, free: 5.715 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.301e-05/0.1069, allocations: 27.98 kB / 452.2 MB, free: 5.688 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.1073, allocations: 60.44 kB / 452.3 MB, free: 5.629 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.1094, allocations: 2.228 MB / 454.5 MB, free: 3.285 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.1096, allocations: 0.7439 MB / 455.3 MB, free: 2.516 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.268e-05/0.1097, allocations: 25.53 kB / 455.3 MB, free: 2.492 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.161e-05/0.1098, allocations: 55.41 kB / 455.4 MB, free: 2.441 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1098, allocations: 8 kB / 455.4 MB, free: 2.434 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.1256, allocations: 4.693 MB / 460.1 MB, free: 13.73 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002801/0.1259, allocations: 269.8 kB / 460.3 MB, free: 13.37 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.017, allocations: 0 / 460.3 MB, free: 13.37 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) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat