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.002301/0.0023, allocations: 186.3 kB / 15.81 MB, free: 6.348 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.597/2.597, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.00118/0.001179, allocations: 86.88 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1341/0.1341, allocations: 12.59 MB / 331.1 MB, free: 10.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005518/0.000552, allocations: 13.59 kB / 392.1 MB, free: 54.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09685/0.09744, allocations: 50.38 MB / 442.5 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample): time 0.002596/0.1001, allocations: 1.546 MB / 444 MB, free: 9.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.1021, allocations: 0.9057 MB / 444.9 MB, free: 8.336 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.1024, allocations: 4 kB / 444.9 MB, free: 8.332 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007053/0.1031, allocations: 119.7 kB / 445.1 MB, free: 8.215 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003693/0.1035, allocations: 95.67 kB / 445.2 MB, free: 8.121 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007948/0.1043, allocations: 159.3 kB / 445.3 MB, free: 7.969 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.1046, allocations: 115.8 kB / 445.4 MB, free: 7.855 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.1047, allocations: 21.55 kB / 445.4 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.1049, allocations: 59.7 kB / 445.5 MB, free: 7.773 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.105, allocations: 59.75 kB / 445.6 MB, free: 7.715 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.105, allocations: 8 kB / 445.6 MB, free: 7.707 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.1052, allocations: 31.92 kB / 445.6 MB, free: 7.676 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.664e-05/0.1053, allocations: 31.91 kB / 445.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/0.1053, allocations: 57.52 kB / 445.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.1056, allocations: 152.5 kB / 445.8 MB, free: 7.434 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1056, allocations: 0 / 445.8 MB, free: 7.434 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1056, allocations: 0 / 445.8 MB, free: 7.434 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1056, allocations: 0 / 445.8 MB, free: 7.434 MB / 282.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.0007679/0.1064, allocations: 488.1 kB / 446.3 MB, free: 6.902 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.1065, allocations: 12.03 kB / 446.3 MB, free: 6.891 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.06e-05/0.1066, allocations: 42.5 kB / 446.4 MB, free: 6.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.569e-05/0.1066, allocations: 15.81 kB / 446.4 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.107, allocations: 261.6 kB / 446.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.107, allocations: 4 kB / 446.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.1071, allocations: 8 kB / 446.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000368/0.1075, allocations: 138.7 kB / 446.8 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1075, allocations: 0 / 446.8 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.1075, allocations: 4 kB / 446.8 MB, free: 6.355 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.1075, allocations: 4 kB / 446.8 MB, free: 6.352 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.1077, allocations: 35.91 kB / 446.8 MB, free: 6.316 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/0.1082, allocations: 366.4 kB / 447.2 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.1085, allocations: 107.9 kB / 447.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.1085, allocations: 7.938 kB / 447.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001862/0.1087, allocations: 75.52 kB / 447.4 MB, free: 5.676 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 2.144e-06/0.1088, allocations: 0 / 447.4 MB, free: 5.676 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004553/0.1092, allocations: 141.3 kB / 447.5 MB, free: 5.531 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.33e-05/0.1093, allocations: 148.7 kB / 447.7 MB, free: 5.355 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.1097, allocations: 257 kB / 447.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1097, allocations: 25.7 kB / 447.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.484e-05/0.1098, allocations: 124.1 kB / 448 MB, free: 4.938 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.1098, allocations: 19.75 kB / 448.1 MB, free: 4.918 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.1098, allocations: 0 / 448.1 MB, free: 4.918 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.508e-05/0.1099, allocations: 326.8 kB / 448.4 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.701e-05/0.11, allocations: 19.98 kB / 448.4 MB, free: 4.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.1101, allocations: 73.94 kB / 448.5 MB, free: 4.477 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.1103, allocations: 31.92 kB / 448.5 MB, free: 4.445 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1103, allocations: 0 / 448.5 MB, free: 4.445 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003182/0.1106, allocations: 113.5 kB / 448.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1106, allocations: 4 kB / 448.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.1107, allocations: 7.984 kB / 448.6 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1107, allocations: 0 / 448.6 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1108, allocations: 15.94 kB / 448.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1108, allocations: 0 / 448.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.111, allocations: 23.84 kB / 448.7 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.111, allocations: 0 / 448.7 MB, free: 4.277 MB / 282.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.1111, allocations: 154.8 kB / 448.8 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.492e-05/0.1112, allocations: 57.45 kB / 448.9 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.403e-05/0.1113, allocations: 25.7 kB / 448.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1113, allocations: 0 / 448.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1113, allocations: 4 kB / 448.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1114, allocations: 0 / 448.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.1116, allocations: 229.5 kB / 449.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1116, allocations: 0 / 449.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/0.1116, allocations: 4.375 kB / 449.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1116, allocations: 11.94 kB / 449.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.1117, allocations: 0 / 449.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.1117, allocations: 8 kB / 449.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1117, allocations: 0 / 449.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003102/0.112, allocations: 181.9 kB / 449.3 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.1121, allocations: 108.9 kB / 449.4 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.1122, allocations: 3.984 kB / 449.4 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.1123, allocations: 8 kB / 449.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.1124, allocations: 7.953 kB / 449.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.1124, allocations: 7.984 kB / 449.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002267/0.1126, allocations: 188.5 kB / 449.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1126, allocations: 0 / 449.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003569/0.113, allocations: 39.98 kB / 449.7 MB, free: 3.137 MB / 282.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0016/0.1146, allocations: 1.159 MB / 450.8 MB, free: 1.941 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003193/0.115, allocations: 67.84 kB / 450.9 MB, free: 1.875 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.115, allocations: 0 / 450.9 MB, free: 1.875 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.987e-05/0.1151, allocations: 24 kB / 450.9 MB, free: 1.852 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000545/0.1157, allocations: 56.16 kB / 451 MB, free: 1.801 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.1177, allocations: 1.557 MB / 452.6 MB, free: 176 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.1181, allocations: 0.7321 MB / 453.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.1183, allocations: 25.53 kB / 453.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.1184, allocations: 51.42 kB / 453.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of SimCode: time 1.242e-06/0.1184, allocations: 0 / 453.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.1454, allocations: 3.989 MB / 457.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000387/0.1458, allocations: 251.8 kB / 457.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.688/2.834, allocations: 0 / 457.6 MB, free: 11.02 MB / 298.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