Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.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: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 184.1 kB / 16.45 MB, free: 5.656 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.348/1.348, allocations: 205.4 MB / 222.6 MB, free: 9.02 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.0007591/0.0007593, allocations: 92.86 kB / 270.9 MB, free: 8.348 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.07226/0.07226, allocations: 12.58 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003842, allocations: 16 kB / 392.7 MB, free: 66.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07509/0.07548, allocations: 50.37 MB / 443 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001203/0.07673, allocations: 1.14 MB / 444.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002128/0.07696, allocations: 95.77 kB / 444.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.388e-05/0.07702, allocations: 8 kB / 444.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.225e-05/0.07704, allocations: 0 / 444.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.427e-05/0.07709, allocations: 3.938 kB / 444.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.07731, allocations: 23.97 kB / 444.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.895e-05/0.07738, allocations: 19.94 kB / 444.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.583e-05/0.07746, allocations: 7.984 kB / 444.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.696e-05/0.07749, allocations: 7.938 kB / 444.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.168e-05/0.07753, allocations: 11.92 kB / 444.4 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.07755, allocations: 4 kB / 444.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.654e-06/0.07756, allocations: 4 kB / 444.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.07757, allocations: 3.984 kB / 444.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.0776, allocations: 29.7 kB / 444.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 4.765e-05/0.07765, allocations: 16.25 kB / 444.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.07766, allocations: 0 / 444.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.07767, allocations: 0 / 444.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.07768, allocations: 0 / 444.4 MB, free: 14.41 MB / 298.7 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.0002789/0.07796, allocations: 327.3 kB / 444.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.078, allocations: 15.97 kB / 444.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.07803, allocations: 7.906 kB / 444.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.07815, allocations: 175 kB / 444.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.07818, allocations: 4 kB / 444.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.07819, allocations: 3.953 kB / 444.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.07843, allocations: 103.3 kB / 445 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.07845, allocations: 4 kB / 445 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.07846, allocations: 0 / 445 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.07847, allocations: 3.938 kB / 445 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.782e-05/0.07853, allocations: 15.98 kB / 445.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.711e-05/0.07863, allocations: 157.6 kB / 445.2 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.07874, allocations: 54.53 kB / 445.3 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.07879, allocations: 24.89 kB / 445.3 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.07882, allocations: 3.953 kB / 445.3 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.07884, allocations: 34.56 kB / 445.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.07885, allocations: 0 / 445.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001673/0.07902, allocations: 69.58 kB / 445.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.07905, allocations: 55.34 kB / 445.4 MB, free: 13.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.477e-05/0.07911, allocations: 101.9 kB / 445.5 MB, free: 13.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.262e-06/0.07912, allocations: 33.7 kB / 445.6 MB, free: 13.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.654e-05/0.07914, allocations: 84.12 kB / 445.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.549e-06/0.07915, allocations: 0 / 445.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.07916, allocations: 0 / 445.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.803e-05/0.0792, allocations: 314.8 kB / 446 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.605e-06/0.07921, allocations: 4 kB / 446 MB, free: 12.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.838e-05/0.07924, allocations: 31.61 kB / 446 MB, free: 12.58 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.58e-05/0.07926, allocations: 8 kB / 446 MB, free: 12.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.07926, allocations: 0 / 446 MB, free: 12.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.692e-05/0.07933, allocations: 57.66 kB / 446.1 MB, free: 12.51 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.07934, allocations: 7.953 kB / 446.1 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.07935, allocations: 4.125 kB / 446.1 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.07937, allocations: 7.984 kB / 446.1 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.261e-05/0.07941, allocations: 4 kB / 446.1 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.07942, allocations: 0 / 446.1 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.077e-05/0.07944, allocations: 0 / 446.1 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.07945, allocations: 7.938 kB / 446.1 MB, free: 12.48 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * 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 4.993e-05/0.07951, allocations: 117.9 kB / 446.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-05/0.07959, allocations: 57.53 kB / 446.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.07962, allocations: 19.44 kB / 446.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.07963, allocations: 4 kB / 446.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.07964, allocations: 0 / 446.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.07964, allocations: 0 / 446.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.305e-05/0.07969, allocations: 153.7 kB / 446.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.0797, allocations: 0 / 446.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.602e-05/0.07972, allocations: 4 kB / 446.4 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.07973, allocations: 0 / 446.4 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.07974, allocations: 0 / 446.4 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.07974, allocations: 3.953 kB / 446.4 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.07975, allocations: 0 / 446.4 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.797e-05/0.07984, allocations: 85.11 kB / 446.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.671e-05/0.07987, allocations: 88.95 kB / 446.6 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-06/0.07988, allocations: 0 / 446.6 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.874e-05/0.0799, allocations: 0 / 446.6 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-06/0.07991, allocations: 7.891 kB / 446.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.07992, allocations: 4 kB / 446.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.996e-05/0.07995, allocations: 87.27 kB / 446.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07995, allocations: 4 kB / 446.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001697/0.08012, allocations: 0 / 446.7 MB, free: 11.75 MB / 298.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 (step.y,assignClock1.u,assignClock1.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 5.613e-05/0.08019, allocations: 95.25 kB / 446.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.505e-05/0.08028, allocations: 19.98 kB / 446.8 MB, free: 11.63 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.08029, allocations: 3.938 kB / 446.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.08029, allocations: 0 / 446.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.08048, allocations: 24.25 kB / 446.9 MB, free: 11.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000195/0.08069, allocations: 146.4 kB / 447 MB, free: 11.42 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.49e-05/0.08078, allocations: 0.6809 MB / 447.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.608e-05/0.0808, allocations: 7.438 kB / 447.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.08081, allocations: 0 / 447.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of Templates: time 0.00139/0.0822, allocations: 0.5434 MB / 448.2 MB, free: 10.16 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches