Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.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.BooleanSignals.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_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.001038/0.001038, allocations: 177 kB / 15.82 MB, free: 6.305 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.581/1.581, allocations: 205.4 MB / 222 MB, free: 13.84 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008145/0.000814, allocations: 98.28 kB / 270.3 MB, free: 13.36 MB / 234.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06935/0.06935, allocations: 12.59 MB / 331.2 MB, free: 10.31 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004695/0.0004696, allocations: 13.75 kB / 392.1 MB, free: 54.79 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1077, allocations: 50.38 MB / 442.5 MB, free: 10.85 MB / 282.8 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1): time 0.001699/0.1095, allocations: 1.197 MB / 443.7 MB, free: 9.641 MB / 282.8 MB Notification: Performance of NFInst.instExpressions: time 0.000342/0.1099, allocations: 139.6 kB / 443.8 MB, free: 9.504 MB / 282.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.117e-05/0.11, allocations: 3.938 kB / 443.8 MB, free: 9.5 MB / 282.8 MB Notification: Performance of NFTyping.typeComponents: time 3.855e-05/0.11, allocations: 7.984 kB / 443.8 MB, free: 9.492 MB / 282.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.1102, allocations: 3.938 kB / 443.9 MB, free: 9.488 MB / 282.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.1104, allocations: 35.91 kB / 443.9 MB, free: 9.453 MB / 282.8 MB Notification: Performance of NFFlatten.flatten: time 8.049e-05/0.1105, allocations: 31.86 kB / 443.9 MB, free: 9.422 MB / 282.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.442e-05/0.1106, allocations: 16.55 kB / 443.9 MB, free: 9.406 MB / 282.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.091e-05/0.1106, allocations: 7.938 kB / 443.9 MB, free: 9.398 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.404e-05/0.1107, allocations: 19.91 kB / 444 MB, free: 9.379 MB / 282.8 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.1107, allocations: 0 / 444 MB, free: 9.379 MB / 282.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.211e-05/0.1107, allocations: 0 / 444 MB, free: 9.379 MB / 282.8 MB Notification: Performance of NFScalarize.scalarize: time 3.494e-05/0.1108, allocations: 11.94 kB / 444 MB, free: 9.367 MB / 282.8 MB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.1108, allocations: 33.7 kB / 444 MB, free: 9.328 MB / 282.8 MB Notification: Performance of NFConvertDAE.convert: time 6.838e-05/0.1109, allocations: 27.95 kB / 444 MB, free: 9.301 MB / 282.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1109, allocations: 0 / 444 MB, free: 9.301 MB / 282.8 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1109, allocations: 0 / 444 MB, free: 9.301 MB / 282.8 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1109, allocations: 0 / 444 MB, free: 9.301 MB / 282.8 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.0003627/0.1113, allocations: 355.4 kB / 444.4 MB, free: 8.906 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1113, allocations: 8.031 kB / 444.4 MB, free: 8.898 MB / 282.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.148e-05/0.1113, allocations: 30.56 kB / 444.4 MB, free: 8.859 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.198e-05/0.1114, allocations: 11.91 kB / 444.4 MB, free: 8.848 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.1115, allocations: 190.9 kB / 444.6 MB, free: 8.621 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.1115, allocations: 7.953 kB / 444.6 MB, free: 8.613 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.1116, allocations: 8 kB / 444.6 MB, free: 8.605 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.1118, allocations: 113 kB / 444.7 MB, free: 8.477 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1118, allocations: 4 kB / 444.7 MB, free: 8.473 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.1118, allocations: 0 / 444.7 MB, free: 8.473 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1118, allocations: 0 / 444.7 MB, free: 8.473 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.542e-05/0.1119, allocations: 16 kB / 444.8 MB, free: 8.457 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.1122, allocations: 261.6 kB / 445 MB, free: 8.148 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.1123, allocations: 142.2 kB / 445.2 MB, free: 7.973 MB / 282.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.699e-05/0.1124, allocations: 29.77 kB / 445.2 MB, free: 7.938 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.1124, allocations: 3.984 kB / 445.2 MB, free: 7.934 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.341e-05/0.1124, allocations: 34.5 kB / 445.2 MB, free: 7.891 MB / 282.8 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.1124, allocations: 4 kB / 445.2 MB, free: 7.887 MB / 282.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001902/0.1126, allocations: 69.67 kB / 445.3 MB, free: 7.812 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.1127, allocations: 85.05 kB / 445.4 MB, free: 7.711 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.656e-05/0.1127, allocations: 141.5 kB / 445.5 MB, free: 7.562 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.1128, allocations: 29.7 kB / 445.5 MB, free: 7.527 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.217e-05/0.1128, allocations: 84.14 kB / 445.6 MB, free: 7.441 MB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.083e-06/0.1128, allocations: 128 / 445.6 MB, free: 7.441 MB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.1128, allocations: 8 kB / 445.6 MB, free: 7.434 MB / 282.8 MB Notification: Performance of setup shared object (initialization): time 5.086e-05/0.1129, allocations: 318.8 kB / 445.9 MB, free: 7.113 MB / 282.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.847e-05/0.1129, allocations: 8 kB / 446 MB, free: 7.105 MB / 282.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.074e-05/0.1129, allocations: 31.42 kB / 446 MB, free: 7.062 MB / 282.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.503e-05/0.113, allocations: 16 kB / 446 MB, free: 7.047 MB / 282.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.113, allocations: 0 / 446 MB, free: 7.047 MB / 282.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.089e-05/0.1131, allocations: 61.56 kB / 446.1 MB, free: 6.98 MB / 282.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1131, allocations: 8 kB / 446.1 MB, free: 6.973 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1131, allocations: 0 / 446.1 MB, free: 6.973 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1131, allocations: 0 / 446.1 MB, free: 6.973 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-05/0.1132, allocations: 4 kB / 446.1 MB, free: 6.969 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1132, allocations: 4.125 kB / 446.1 MB, free: 6.965 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.273e-05/0.1132, allocations: 11.89 kB / 446.1 MB, free: 6.953 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.1132, allocations: 0 / 446.1 MB, free: 6.953 MB / 282.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.322e-05/0.1133, allocations: 129.6 kB / 446.2 MB, free: 6.816 MB / 282.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.204e-05/0.1133, allocations: 45.62 kB / 446.3 MB, free: 6.766 MB / 282.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.1134, allocations: 11.91 kB / 446.3 MB, free: 6.75 MB / 282.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1134, allocations: 0 / 446.3 MB, free: 6.75 MB / 282.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1134, allocations: 0 / 446.3 MB, free: 6.75 MB / 282.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1134, allocations: 4 kB / 446.3 MB, free: 6.746 MB / 282.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.1135, allocations: 173.6 kB / 446.4 MB, free: 6.527 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1135, allocations: 0 / 446.4 MB, free: 6.527 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.133e-06/0.1136, allocations: 0 / 446.4 MB, free: 6.527 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1136, allocations: 4 kB / 446.4 MB, free: 6.523 MB / 282.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.1136, allocations: 3.938 kB / 446.5 MB, free: 6.52 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1136, allocations: 0 / 446.5 MB, free: 6.52 MB / 282.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1136, allocations: 0 / 446.5 MB, free: 6.52 MB / 282.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.1137, allocations: 168.2 kB / 446.6 MB, free: 6.336 MB / 282.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.1137, allocations: 101 kB / 446.7 MB, free: 6.219 MB / 282.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.1138, allocations: 0 / 446.7 MB, free: 6.219 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.286e-05/0.1138, allocations: 0 / 446.7 MB, free: 6.219 MB / 282.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.1139, allocations: 4 kB / 446.7 MB, free: 6.215 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.1139, allocations: 0 / 446.7 MB, free: 6.215 MB / 282.8 MB Notification: Performance of sorting global known variables: time 3.962e-05/0.1139, allocations: 103.2 kB / 446.8 MB, free: 6.113 MB / 282.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1139, allocations: 4 kB / 446.8 MB, free: 6.109 MB / 282.8 MB Notification: Performance of remove unused functions: time 0.0002049/0.1141, allocations: 8 kB / 446.8 MB, free: 6.102 MB / 282.8 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 (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.0002633/0.1144, allocations: 0.6975 MB / 447.5 MB, free: 5.375 MB / 282.8 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.1145, allocations: 28.47 kB / 447.6 MB, free: 5.348 MB / 282.8 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1145, allocations: 4 kB / 447.6 MB, free: 5.344 MB / 282.8 MB Notification: Performance of simCode: created simulation system equations: time 2.353e-05/0.1146, allocations: 7.938 kB / 447.6 MB, free: 5.336 MB / 282.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.1149, allocations: 19.78 kB / 447.6 MB, free: 5.32 MB / 282.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005862/0.1155, allocations: 458.5 kB / 448 MB, free: 4.805 MB / 282.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.1156, allocations: 0.6887 MB / 448.7 MB, free: 4.09 MB / 282.8 MB Notification: Performance of simCode: alias equations: time 2.283e-05/0.1156, allocations: 8 kB / 448.7 MB, free: 4.082 MB / 282.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.1157, allocations: 11.44 kB / 448.7 MB, free: 4.07 MB / 282.8 MB Notification: Performance of SimCode: time 2.2e-07/0.1157, allocations: 0 / 448.7 MB, free: 4.07 MB / 282.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01189/0.1276, allocations: 1.245 MB / 450 MB, free: 2.84 MB / 282.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/0.1278, allocations: 214.1 kB / 450.2 MB, free: 2.594 MB / 282.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.499/1.626, allocations: 0 / 450.2 MB, free: 2.594 MB / 282.8 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1_res.mat does not exist to compare? outputFormat=mat