Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.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.BooleanSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_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.001563/0.001563, allocations: 170.4 kB / 16.14 MB, free: 5.656 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.436/1.436, 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.0007223/0.0007224, allocations: 91.66 kB / 270.7 MB, free: 8.242 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.07962/0.07962, allocations: 12.59 MB / 331.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004195/0.0004197, allocations: 12 kB / 392.8 MB, free: 65.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09648/0.09692, allocations: 50.37 MB / 443.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample): time 0.002111/0.09908, allocations: 1.575 MB / 444.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.1005, allocations: 0.9599 MB / 445.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.1007, allocations: 7.938 kB / 445.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006099/0.1013, allocations: 147.6 kB / 445.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.1016, allocations: 103.6 kB / 445.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.1021, allocations: 155.7 kB / 446.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000216/0.1024, allocations: 183.5 kB / 446.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1025, allocations: 33.77 kB / 446.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.1026, allocations: 55.7 kB / 446.3 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.1027, allocations: 71.62 kB / 446.4 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.1028, allocations: 4 kB / 446.4 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.1029, allocations: 39.98 kB / 446.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.076e-05/0.103, allocations: 39.83 kB / 446.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.972e-05/0.103, allocations: 97.19 kB / 446.6 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.1033, allocations: 183.3 kB / 446.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1033, allocations: 0 / 446.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1033, allocations: 0 / 446.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1033, allocations: 0 / 446.8 MB, free: 11.67 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.000666/0.104, allocations: 488.3 kB / 447.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.104, allocations: 12.03 kB / 447.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.79e-05/0.1041, allocations: 38.73 kB / 447.3 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.1041, allocations: 20.75 kB / 447.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.1044, allocations: 266.7 kB / 447.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.1044, allocations: 4.375 kB / 447.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.1044, allocations: 7.938 kB / 447.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.1047, allocations: 150.7 kB / 447.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1047, allocations: 8 kB / 447.7 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.1048, allocations: 4 kB / 447.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1048, allocations: 0 / 447.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.191e-05/0.1049, allocations: 31.92 kB / 447.8 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.1053, allocations: 354.5 kB / 448.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.1055, allocations: 115.9 kB / 448.2 MB, free: 9.984 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.436e-05/0.1055, allocations: 46.5 kB / 448.3 MB, free: 9.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.1056, allocations: 12.06 kB / 448.3 MB, free: 9.918 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.1057, allocations: 75.38 kB / 448.4 MB, free: 9.832 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.1057, allocations: 0 / 448.4 MB, free: 9.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003015/0.106, allocations: 141.2 kB / 448.5 MB, free: 9.688 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.1061, allocations: 140.8 kB / 448.6 MB, free: 9.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.1063, allocations: 264.9 kB / 448.9 MB, free: 9.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.1063, allocations: 29.7 kB / 448.9 MB, free: 9.215 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/0.1064, allocations: 124.1 kB / 449.1 MB, free: 9.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.1064, allocations: 11.81 kB / 449.1 MB, free: 9.078 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.1064, allocations: 0 / 449.1 MB, free: 9.078 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.256e-05/0.1065, allocations: 334.8 kB / 449.4 MB, free: 8.742 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.184e-05/0.1066, allocations: 19.94 kB / 449.4 MB, free: 8.723 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.508e-05/0.1066, allocations: 77.92 kB / 449.5 MB, free: 8.625 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.1067, allocations: 76.2 kB / 449.6 MB, free: 8.535 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1068, allocations: 0 / 449.6 MB, free: 8.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001628/0.1069, allocations: 113.4 kB / 449.7 MB, free: 8.418 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1069, allocations: 4 kB / 449.7 MB, free: 8.414 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.107, allocations: 0 / 449.7 MB, free: 8.414 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.107, allocations: 4 kB / 449.7 MB, free: 8.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.253e-05/0.1071, allocations: 19.92 kB / 449.7 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.1071, allocations: 4 kB / 449.7 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.543e-05/0.1072, allocations: 15.97 kB / 449.7 MB, free: 8.371 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.1072, allocations: 4 kB / 449.7 MB, free: 8.367 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 9.228e-05/0.1073, allocations: 141.8 kB / 449.9 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-05/0.1073, allocations: 65.44 kB / 449.9 MB, free: 8.148 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.126e-05/0.1074, allocations: 25.7 kB / 450 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1074, allocations: 0 / 450 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1074, allocations: 0 / 450 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1074, allocations: 12.31 kB / 450 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.1075, allocations: 217.6 kB / 450.2 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1076, allocations: 4 kB / 450.2 MB, free: 7.848 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.584e-05/0.1076, allocations: 7.984 kB / 450.2 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1076, allocations: 0 / 450.2 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1076, allocations: 4 kB / 450.2 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1076, allocations: 3.938 kB / 450.2 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1076, allocations: 3.938 kB / 450.2 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.1078, allocations: 162.4 kB / 450.4 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-05/0.1079, allocations: 108.9 kB / 450.5 MB, free: 7.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.1079, allocations: 4 kB / 450.5 MB, free: 7.516 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.132e-05/0.108, allocations: 7.984 kB / 450.5 MB, free: 7.508 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.108, allocations: 11.94 kB / 450.5 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.1081, allocations: 4 kB / 450.5 MB, free: 7.492 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001335/0.1082, allocations: 192.5 kB / 450.7 MB, free: 7.305 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1082, allocations: 4 kB / 450.7 MB, free: 7.301 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002322/0.1084, allocations: 32 kB / 450.7 MB, free: 7.27 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.001089/0.1095, allocations: 0.9954 MB / 451.7 MB, free: 6.238 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.1097, allocations: 63.91 kB / 451.8 MB, free: 6.176 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1097, allocations: 7.938 kB / 451.8 MB, free: 6.168 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.867e-05/0.1098, allocations: 27.92 kB / 451.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.1102, allocations: 56.31 kB / 451.9 MB, free: 6.086 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.1119, allocations: 1.955 MB / 453.8 MB, free: 4.012 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.1121, allocations: 0.7283 MB / 454.6 MB, free: 3.254 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.651e-05/0.1121, allocations: 21.53 kB / 454.6 MB, free: 3.234 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.999e-05/0.1122, allocations: 43.42 kB / 454.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1122, allocations: 4 kB / 454.6 MB, free: 3.191 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01477/0.127, allocations: 4.054 MB / 458.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/0.1273, allocations: 281.7 kB / 458.9 MB, free: 14.76 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.011, allocations: 4 kB / 459 MB, free: 14.75 MB / 314.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat