Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.TimeBasedPulse,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedPulse",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.002422/0.002422, allocations: 181 kB / 8.049 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.3 MB / 213.8 MB, free: 13.77 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.001092/0.001091, allocations: 93.41 kB / 261.8 MB, free: 13.46 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.1217/0.1217, allocations: 12.59 MB / 322.3 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.572e-05/2.576e-05, allocations: 0 / 379 MB, free: 75.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1377, allocations: 50.37 MB / 429.4 MB, free: 24.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4652/0.603, allocations: 77.33 MB / 0.4949 GB, free: 11.69 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.6033, allocations: 77.94 kB / 0.4949 GB, free: 11.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006448/0.6097, allocations: 1.275 MB / 0.4962 GB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.6098, allocations: 0 / 0.4962 GB, free: 11.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.6099, allocations: 4 kB / 0.4962 GB, free: 11.34 MB / 330.7 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.0008312/0.6107, allocations: 360.6 kB / 0.4965 GB, free: 10.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.548e-05/0.6108, allocations: 11.62 kB / 0.4965 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.503e-05/0.6109, allocations: 13.38 kB / 0.4966 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.6113, allocations: 178.5 kB / 0.4967 GB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.6113, allocations: 0 / 0.4967 GB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.6113, allocations: 11.92 kB / 0.4967 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001849/0.6116, allocations: 28.48 kB / 0.4968 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004414/0.612, allocations: 120.2 kB / 0.4969 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.6121, allocations: 0 / 0.4969 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.6121, allocations: 0 / 0.4969 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.6121, allocations: 3.906 kB / 0.4969 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.6123, allocations: 143.9 kB / 0.497 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.6126, allocations: 118.3 kB / 0.4971 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.332e-05/0.6127, allocations: 29.67 kB / 0.4972 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.6127, allocations: 3.906 kB / 0.4972 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.6128, allocations: 34.52 kB / 0.4972 GB, free: 10.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 3.507e-06/0.6128, allocations: 0 / 0.4972 GB, free: 10.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002896/0.6131, allocations: 66.55 kB / 0.4973 GB, free: 10.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.6132, allocations: 51.41 kB / 0.4973 GB, free: 10.28 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.6133, allocations: 103.2 kB / 0.4974 GB, free: 10.19 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.6134, allocations: 25.7 kB / 0.4974 GB, free: 10.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.6134, allocations: 87.92 kB / 0.4975 GB, free: 10.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.6135, allocations: 6.297 kB / 0.4975 GB, free: 10.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.485e-06/0.6135, allocations: 0 / 0.4975 GB, free: 10.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.148e-05/0.6136, allocations: 310.8 kB / 0.4978 GB, free: 9.758 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.511e-05/0.6136, allocations: 11.72 kB / 0.4978 GB, free: 9.754 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.7e-05/0.6137, allocations: 43.09 kB / 0.4979 GB, free: 9.707 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.266e-05/0.6138, allocations: 15.41 kB / 0.4979 GB, free: 9.703 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.6138, allocations: 4 kB / 0.4979 GB, free: 9.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002759/0.6141, allocations: 66.02 kB / 0.498 GB, free: 9.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.6142, allocations: 3.844 kB / 0.498 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.6142, allocations: 4.75 kB / 0.498 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.6143, allocations: 3.953 kB / 0.498 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.6144, allocations: 12.53 kB / 0.498 GB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.6144, allocations: 6.516 kB / 0.498 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.6145, allocations: 3.844 kB / 0.498 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.6146, allocations: 8 kB / 0.498 GB, free: 9.645 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001006/0.6147, allocations: 103.1 kB / 0.4981 GB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002134/0.6149, allocations: 66.12 kB / 0.4982 GB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.615, allocations: 14.09 kB / 0.4982 GB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.479e-05/0.6151, allocations: 8.375 kB / 0.4982 GB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.6151, allocations: 0 / 0.4982 GB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.6151, allocations: 0 / 0.4982 GB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.6151, allocations: 3.844 kB / 0.4982 GB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.6153, allocations: 140.2 kB / 0.4983 GB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.6153, allocations: 4 kB / 0.4983 GB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.6155, allocations: 3.844 kB / 0.4983 GB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.6155, allocations: 0 / 0.4983 GB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.6156, allocations: 6.328 kB / 0.4983 GB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.6156, allocations: 3.953 kB / 0.4983 GB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.6156, allocations: 0 / 0.4983 GB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.6159, allocations: 83.81 kB / 0.4984 GB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/0.6159, allocations: 77.11 kB / 0.4985 GB, free: 9.164 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.616, allocations: 7.812 kB / 0.4985 GB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.6161, allocations: 12.58 kB / 0.4985 GB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.6162, allocations: 7.891 kB / 0.4985 GB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.6162, allocations: 3.875 kB / 0.4985 GB, free: 9.152 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.558e-05/0.6163, allocations: 93.28 kB / 0.4986 GB, free: 9.074 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-07/0.6163, allocations: 0 / 0.4986 GB, free: 9.074 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004474/0.6167, allocations: 7.656 kB / 0.4986 GB, free: 9.074 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0006336/0.6174, allocations: 0.6415 MB / 0.4992 GB, free: 8.473 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.6176, allocations: 30.12 kB / 0.4993 GB, free: 8.469 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.6177, allocations: 0 / 0.4993 GB, free: 8.469 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.304e-06/0.6177, allocations: 3.938 kB / 0.4993 GB, free: 8.465 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006074/0.6183, allocations: 35.66 kB / 0.4993 GB, free: 8.457 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006126/0.619, allocations: 127.4 kB / 0.4994 GB, free: 8.332 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.6192, allocations: 0.688 MB / 0.5001 GB, free: 7.637 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.201e-05/0.6193, allocations: 192 / 0.5001 GB, free: 7.633 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.29e-05/0.6193, allocations: 19.14 kB / 0.5001 GB, free: 7.629 MB / 330.7 MB Notification: Performance of SimCode: time 1.412e-06/0.6194, allocations: 0 / 0.5001 GB, free: 7.629 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03183/0.6512, allocations: 1.102 MB / 0.5012 GB, free: 7.547 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003006/0.6516, allocations: 168.8 kB / 0.5014 GB, free: 7.355 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/3.243, allocations: 3.844 kB / 0.5014 GB, free: 7.355 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedPulse_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat does not exist to compare? outputFormat=mat