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.0009206/0.0009206, 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.461/1.461, allocations: 205.4 MB / 222 MB, free: 13.83 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.0007513/0.0007514, allocations: 102.2 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.09055/0.09055, allocations: 12.6 MB / 331.2 MB, free: 10.3 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004292/0.0004293, allocations: 13.75 kB / 392.1 MB, free: 54.79 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1138, allocations: 50.38 MB / 442.5 MB, free: 10.85 MB / 282.8 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample): time 0.002223/0.1161, allocations: 1.553 MB / 444.1 MB, free: 9.285 MB / 282.8 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1175, allocations: 0.9292 MB / 445 MB, free: 8.348 MB / 282.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.1176, allocations: 3.938 kB / 445 MB, free: 8.344 MB / 282.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0005662/0.1182, allocations: 131.7 kB / 445.1 MB, free: 8.215 MB / 282.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.1184, allocations: 91.7 kB / 445.2 MB, free: 8.125 MB / 282.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.1189, allocations: 159.5 kB / 445.4 MB, free: 7.973 MB / 282.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.1191, allocations: 163.5 kB / 445.5 MB, free: 7.812 MB / 282.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1192, allocations: 17.56 kB / 445.5 MB, free: 7.793 MB / 282.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.961e-05/0.1193, allocations: 67.69 kB / 445.6 MB, free: 7.727 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 9.397e-05/0.1194, allocations: 59.7 kB / 445.7 MB, free: 7.668 MB / 282.8 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.1194, allocations: 8 kB / 445.7 MB, free: 7.66 MB / 282.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.1195, allocations: 47.91 kB / 445.7 MB, free: 7.613 MB / 282.8 MB Notification: Performance of NFScalarize.scalarize: time 5.024e-05/0.1196, allocations: 35.84 kB / 445.8 MB, free: 7.578 MB / 282.8 MB Notification: Performance of NFVerifyModel.verify: time 4.548e-05/0.1197, allocations: 49.64 kB / 445.8 MB, free: 7.523 MB / 282.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.1198, allocations: 144.5 kB / 445.9 MB, free: 7.383 MB / 282.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1199, allocations: 4 kB / 445.9 MB, free: 7.379 MB / 282.8 MB Notification: Performance of FrontEnd: time 2.926e-06/0.1199, allocations: 0 / 445.9 MB, free: 7.379 MB / 282.8 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.1199, allocations: 3.938 kB / 446 MB, free: 7.375 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006754/0.1206, allocations: 496.1 kB / 446.4 MB, free: 6.836 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.1206, allocations: 12.03 kB / 446.4 MB, free: 6.824 MB / 282.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.971e-05/0.1207, allocations: 38.5 kB / 446.5 MB, free: 6.777 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.1207, allocations: 19.81 kB / 446.5 MB, free: 6.758 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.121, allocations: 257.7 kB / 446.8 MB, free: 6.469 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.1211, allocations: 4 kB / 446.8 MB, free: 6.465 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.1211, allocations: 4 kB / 446.8 MB, free: 6.461 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.1214, allocations: 150.7 kB / 446.9 MB, free: 6.289 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1214, allocations: 3.938 kB / 446.9 MB, free: 6.285 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.1215, allocations: 4 kB / 446.9 MB, free: 6.281 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.1215, allocations: 4 kB / 446.9 MB, free: 6.277 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.215e-05/0.1216, allocations: 31.97 kB / 447 MB, free: 6.246 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004505/0.122, allocations: 362.3 kB / 447.3 MB, free: 5.836 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.1222, allocations: 107.9 kB / 447.4 MB, free: 5.703 MB / 282.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.053e-05/0.1223, allocations: 42.56 kB / 447.5 MB, free: 5.652 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.1223, allocations: 4 kB / 447.5 MB, free: 5.648 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.1225, allocations: 79.33 kB / 447.5 MB, free: 5.559 MB / 282.8 MB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.1225, allocations: 0 / 447.5 MB, free: 5.559 MB / 282.8 MB Notification: Performance of matching and sorting (n=9): time 0.0003097/0.1228, allocations: 141.3 kB / 447.7 MB, free: 5.414 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.1229, allocations: 140.5 kB / 447.8 MB, free: 5.246 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.1231, allocations: 257 kB / 448.1 MB, free: 4.984 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.1232, allocations: 29.69 kB / 448.1 MB, free: 4.949 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.1232, allocations: 120.2 kB / 448.2 MB, free: 4.828 MB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.1232, allocations: 19.75 kB / 448.2 MB, free: 4.809 MB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.1233, allocations: 3.938 kB / 448.2 MB, free: 4.805 MB / 282.8 MB Notification: Performance of setup shared object (initialization): time 8.529e-05/0.1234, allocations: 331.1 kB / 448.6 MB, free: 4.473 MB / 282.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.631e-05/0.1234, allocations: 23.98 kB / 448.6 MB, free: 4.449 MB / 282.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-05/0.1235, allocations: 65.94 kB / 448.6 MB, free: 4.363 MB / 282.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.2e-05/0.1236, allocations: 28.02 kB / 448.7 MB, free: 4.336 MB / 282.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1236, allocations: 4 kB / 448.7 MB, free: 4.332 MB / 282.8 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000165/0.1237, allocations: 113.4 kB / 448.8 MB, free: 4.215 MB / 282.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1238, allocations: 4 kB / 448.8 MB, free: 4.211 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1238, allocations: 4 kB / 448.8 MB, free: 4.207 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1238, allocations: 0 / 448.8 MB, free: 4.207 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.1239, allocations: 16 kB / 448.8 MB, free: 4.191 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.1239, allocations: 8.016 kB / 448.8 MB, free: 4.184 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.694e-05/0.124, allocations: 15.89 kB / 448.8 MB, free: 4.168 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.124, allocations: 4 kB / 448.8 MB, free: 4.164 MB / 282.8 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.0001127/0.1241, allocations: 142.8 kB / 449 MB, free: 4.016 MB / 282.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.659e-05/0.1242, allocations: 61.45 kB / 449 MB, free: 3.949 MB / 282.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.975e-05/0.1243, allocations: 25.7 kB / 449.1 MB, free: 3.926 MB / 282.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1243, allocations: 3.938 kB / 449.1 MB, free: 3.922 MB / 282.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1243, allocations: 4.062 kB / 449.1 MB, free: 3.918 MB / 282.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.1243, allocations: 7.953 kB / 449.1 MB, free: 3.91 MB / 282.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.1245, allocations: 225.5 kB / 449.3 MB, free: 3.641 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1245, allocations: 0 / 449.3 MB, free: 3.641 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-05/0.1245, allocations: 4 kB / 449.3 MB, free: 3.637 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1245, allocations: 4.312 kB / 449.3 MB, free: 3.633 MB / 282.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.1245, allocations: 0 / 449.3 MB, free: 3.633 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1245, allocations: 4 kB / 449.3 MB, free: 3.629 MB / 282.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1245, allocations: 4 kB / 449.3 MB, free: 3.625 MB / 282.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.1247, allocations: 162.4 kB / 449.5 MB, free: 3.441 MB / 282.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.104e-05/0.1248, allocations: 104.9 kB / 449.6 MB, free: 3.32 MB / 282.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.1248, allocations: 7.984 kB / 449.6 MB, free: 3.312 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.019e-05/0.1249, allocations: 4 kB / 449.6 MB, free: 3.309 MB / 282.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.1249, allocations: 8 kB / 449.6 MB, free: 3.301 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.125, allocations: 7.984 kB / 449.6 MB, free: 3.293 MB / 282.8 MB Notification: Performance of sorting global known variables: time 0.0001356/0.1251, allocations: 196.4 kB / 449.8 MB, free: 3.098 MB / 282.8 MB Notification: Performance of sort global known variables: time 8.12e-07/0.1251, allocations: 0 / 449.8 MB, free: 3.098 MB / 282.8 MB Notification: Performance of remove unused functions: time 0.0002315/0.1254, allocations: 31.92 kB / 449.8 MB, free: 3.066 MB / 282.8 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.001069/0.1264, allocations: 1.007 MB / 450.8 MB, free: 2.031 MB / 282.8 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.1266, allocations: 59.92 kB / 450.9 MB, free: 1.973 MB / 282.8 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1266, allocations: 0 / 450.9 MB, free: 1.973 MB / 282.8 MB Notification: Performance of simCode: created simulation system equations: time 6.429e-05/0.1267, allocations: 31.92 kB / 450.9 MB, free: 1.941 MB / 282.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.1271, allocations: 64.16 kB / 451 MB, free: 1.883 MB / 282.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.1284, allocations: 0.9767 MB / 452 MB, free: 0.8398 MB / 282.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.1286, allocations: 0.7322 MB / 452.7 MB, free: 80 kB / 282.8 MB Notification: Performance of simCode: alias equations: time 7.176e-05/0.1286, allocations: 17.55 kB / 452.7 MB, free: 64 kB / 282.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.582e-05/0.1287, allocations: 43.42 kB / 452.8 MB, free: 20 kB / 282.8 MB Notification: Performance of SimCode: time 2.51e-07/0.1287, allocations: 0 / 452.8 MB, free: 20 kB / 282.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.146, allocations: 4.012 MB / 456.8 MB, free: 12 MB / 298.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/0.1463, allocations: 254.2 kB / 457 MB, free: 11.66 MB / 298.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/1.944, allocations: 0 / 457 MB, free: 11.66 MB / 298.8 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