Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.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.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TickBasedStep",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.001041/0.001041, 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.572/1.572, allocations: 205.4 MB / 222 MB, free: 13.75 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.0008446/0.0008447, allocations: 90.3 kB / 270.3 MB, free: 13.29 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.06757/0.06757, allocations: 12.59 MB / 331.2 MB, free: 10.3 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004498/0.0004498, allocations: 17.66 kB / 392.1 MB, free: 54.73 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09436/0.09484, allocations: 50.38 MB / 442.5 MB, free: 10.84 MB / 282.8 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001393/0.09625, allocations: 1.129 MB / 443.6 MB, free: 9.695 MB / 282.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002283/0.09652, allocations: 40.22 kB / 443.7 MB, free: 9.656 MB / 282.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.577e-05/0.09661, allocations: 4 kB / 443.7 MB, free: 9.652 MB / 282.8 MB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.09664, allocations: 3.938 kB / 443.7 MB, free: 9.648 MB / 282.8 MB Notification: Performance of NFTyping.typeBindings: time 4.232e-05/0.09669, allocations: 0 / 443.7 MB, free: 9.648 MB / 282.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.09697, allocations: 23.97 kB / 443.7 MB, free: 9.625 MB / 282.8 MB Notification: Performance of NFFlatten.flatten: time 8.499e-05/0.09706, allocations: 23.92 kB / 443.7 MB, free: 9.602 MB / 282.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.421e-05/0.09717, allocations: 4 kB / 443.7 MB, free: 9.598 MB / 282.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.665e-05/0.09722, allocations: 15.88 kB / 443.8 MB, free: 9.582 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.326e-05/0.09728, allocations: 11.92 kB / 443.8 MB, free: 9.57 MB / 282.8 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.09731, allocations: 0 / 443.8 MB, free: 9.57 MB / 282.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.134e-05/0.09732, allocations: 4 kB / 443.8 MB, free: 9.566 MB / 282.8 MB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.09735, allocations: 7.984 kB / 443.8 MB, free: 9.559 MB / 282.8 MB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.09739, allocations: 29.64 kB / 443.8 MB, free: 9.523 MB / 282.8 MB Notification: Performance of NFConvertDAE.convert: time 7.314e-05/0.09747, allocations: 27.95 kB / 443.8 MB, free: 9.496 MB / 282.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.09748, allocations: 0 / 443.8 MB, free: 9.496 MB / 282.8 MB Notification: Performance of FrontEnd: time 1.313e-06/0.09749, allocations: 0 / 443.8 MB, free: 9.496 MB / 282.8 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.0975, allocations: 0 / 443.8 MB, free: 9.496 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003956/0.0979, allocations: 336.1 kB / 444.2 MB, free: 9.121 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.09796, allocations: 12.03 kB / 444.2 MB, free: 9.109 MB / 282.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.761e-05/0.098, allocations: 38.55 kB / 444.2 MB, free: 9.062 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.09803, allocations: 3.906 kB / 444.2 MB, free: 9.059 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.0982, allocations: 171.1 kB / 444.4 MB, free: 8.852 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.09823, allocations: 7.953 kB / 444.4 MB, free: 8.844 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.09825, allocations: 8 kB / 444.4 MB, free: 8.836 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.09859, allocations: 115.3 kB / 444.5 MB, free: 8.711 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.09861, allocations: 3.938 kB / 444.5 MB, free: 8.707 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.09862, allocations: 0 / 444.5 MB, free: 8.707 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.09863, allocations: 0 / 444.5 MB, free: 8.707 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.09874, allocations: 27.97 kB / 444.5 MB, free: 8.68 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001093/0.09886, allocations: 161.7 kB / 444.7 MB, free: 8.473 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.099, allocations: 54.55 kB / 444.7 MB, free: 8.41 MB / 282.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.113e-05/0.09908, allocations: 32.88 kB / 444.8 MB, free: 8.375 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.0991, allocations: 0 / 444.8 MB, free: 8.375 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.09913, allocations: 34.5 kB / 444.8 MB, free: 8.332 MB / 282.8 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.09913, allocations: 3.938 kB / 444.8 MB, free: 8.328 MB / 282.8 MB Notification: Performance of matching and sorting (n=4): time 0.000257/0.0994, allocations: 81.56 kB / 444.9 MB, free: 8.242 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.09945, allocations: 63.41 kB / 445 MB, free: 8.168 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.487e-05/0.09953, allocations: 105.8 kB / 445.1 MB, free: 8.055 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 8.846e-06/0.09955, allocations: 29.64 kB / 445.1 MB, free: 8.02 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.433e-05/0.09958, allocations: 80.14 kB / 445.2 MB, free: 7.938 MB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.058e-05/0.0996, allocations: 4 kB / 445.2 MB, free: 7.934 MB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.0996, allocations: 0 / 445.2 MB, free: 7.934 MB / 282.8 MB Notification: Performance of setup shared object (initialization): time 4.943e-05/0.09966, allocations: 318.8 kB / 445.5 MB, free: 7.613 MB / 282.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.09968, allocations: 8 kB / 445.5 MB, free: 7.605 MB / 282.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.233e-05/0.09971, allocations: 31.38 kB / 445.5 MB, free: 7.562 MB / 282.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.285e-05/0.09974, allocations: 8 kB / 445.5 MB, free: 7.555 MB / 282.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.09974, allocations: 0 / 445.5 MB, free: 7.555 MB / 282.8 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.448e-05/0.09982, allocations: 69.67 kB / 445.6 MB, free: 7.48 MB / 282.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.09984, allocations: 8.125 kB / 445.6 MB, free: 7.473 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.09985, allocations: 4 kB / 445.6 MB, free: 7.469 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.09987, allocations: 0 / 445.6 MB, free: 7.469 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.93e-05/0.09995, allocations: 16.34 kB / 445.6 MB, free: 7.453 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.09996, allocations: 3.938 kB / 445.6 MB, free: 7.449 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.216e-05/0.09999, allocations: 0 / 445.6 MB, free: 7.449 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.1, allocations: 8 kB / 445.6 MB, free: 7.441 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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.214e-05/0.1001, allocations: 117.6 kB / 445.8 MB, free: 7.316 MB / 282.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.1002, allocations: 65.62 kB / 445.8 MB, free: 7.246 MB / 282.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.817e-05/0.1002, allocations: 11.91 kB / 445.8 MB, free: 7.23 MB / 282.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1003, allocations: 0 / 445.8 MB, free: 7.23 MB / 282.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1003, allocations: 0 / 445.8 MB, free: 7.23 MB / 282.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1003, allocations: 0 / 445.8 MB, free: 7.23 MB / 282.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.605e-05/0.1003, allocations: 161.6 kB / 446 MB, free: 7.023 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1003, allocations: 0 / 446 MB, free: 7.023 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.631e-05/0.1004, allocations: 15.92 kB / 446 MB, free: 7.008 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1005, allocations: 7.938 kB / 446 MB, free: 7 MB / 282.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.1005, allocations: 3.953 kB / 446 MB, free: 6.996 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1005, allocations: 0 / 446 MB, free: 6.996 MB / 282.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1005, allocations: 4 kB / 446 MB, free: 6.992 MB / 282.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.1006, allocations: 89.02 kB / 446.1 MB, free: 6.887 MB / 282.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/0.1007, allocations: 85.09 kB / 446.2 MB, free: 6.785 MB / 282.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.1007, allocations: 0 / 446.2 MB, free: 6.785 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.397e-05/0.1007, allocations: 11.95 kB / 446.2 MB, free: 6.773 MB / 282.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-06/0.1007, allocations: 0 / 446.2 MB, free: 6.773 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.1008, allocations: 0 / 446.2 MB, free: 6.773 MB / 282.8 MB Notification: Performance of sorting global known variables: time 2.677e-05/0.1008, allocations: 83.27 kB / 446.3 MB, free: 6.691 MB / 282.8 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1008, allocations: 4 kB / 446.3 MB, free: 6.688 MB / 282.8 MB Notification: Performance of remove unused functions: time 0.0001918/0.101, allocations: 11.94 kB / 446.3 MB, free: 6.676 MB / 282.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.000422/0.1014, allocations: 0.6397 MB / 446.9 MB, free: 6.008 MB / 282.8 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.1015, allocations: 35.91 kB / 447 MB, free: 5.973 MB / 282.8 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1016, allocations: 4.312 kB / 447 MB, free: 5.969 MB / 282.8 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-07/0.1016, allocations: 0 / 447 MB, free: 5.969 MB / 282.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.1019, allocations: 43.67 kB / 447 MB, free: 5.93 MB / 282.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005134/0.1024, allocations: 397 kB / 447.4 MB, free: 5.48 MB / 282.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.1025, allocations: 0.677 MB / 448.1 MB, free: 4.777 MB / 282.8 MB Notification: Performance of simCode: alias equations: time 1.953e-05/0.1025, allocations: 4.25 kB / 448.1 MB, free: 4.773 MB / 282.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.1026, allocations: 11.44 kB / 448.1 MB, free: 4.762 MB / 282.8 MB Notification: Performance of SimCode: time 3.51e-07/0.1026, allocations: 0 / 448.1 MB, free: 4.762 MB / 282.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01193/0.1145, allocations: 1.159 MB / 449.3 MB, free: 3.617 MB / 282.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/0.1147, allocations: 220.9 kB / 449.5 MB, free: 3.371 MB / 282.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/1.662, allocations: 0 / 449.5 MB, free: 3.371 MB / 282.8 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat