Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00128/0.00128, allocations: 168.9 kB / 16.8 MB, free: 4.992 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.398/1.398, allocations: 205.4 MB / 223 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.0007357/0.0007356, allocations: 89.48 kB / 271.3 MB, free: 8.242 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.09358/0.09358, allocations: 12.6 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004065/0.0004067, allocations: 16 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08462/0.08504, allocations: 50.38 MB / 443.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001527/0.08661, allocations: 1.156 MB / 444.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002453/0.08689, allocations: 91.75 kB / 444.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.618e-05/0.08698, allocations: 0 / 444.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.08701, allocations: 3.938 kB / 444.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.324e-05/0.08706, allocations: 4 kB / 444.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.08731, allocations: 23.91 kB / 445 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.462e-05/0.08739, allocations: 23.94 kB / 445 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.556e-05/0.08749, allocations: 15.92 kB / 445 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.21e-05/0.08753, allocations: 8 kB / 445 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.187e-05/0.08758, allocations: 7.938 kB / 445 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.08761, allocations: 0 / 445 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.357e-06/0.08762, allocations: 0 / 445 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.08765, allocations: 11.92 kB / 445 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.0877, allocations: 37.62 kB / 445.1 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.1e-05/0.08777, allocations: 19.97 kB / 445.1 MB, free: 14.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.08778, allocations: 3.938 kB / 445.1 MB, free: 14.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.08778, allocations: 0 / 445.1 MB, free: 14.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.0878, allocations: 4 kB / 445.1 MB, free: 14 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.0003648/0.08817, allocations: 335.7 kB / 445.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.08821, allocations: 8.031 kB / 445.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.08825, allocations: 8.844 kB / 445.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.08843, allocations: 172.4 kB / 445.6 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.08846, allocations: 384 / 445.6 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.08848, allocations: 4.375 kB / 445.6 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.08879, allocations: 119.8 kB / 445.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.08881, allocations: 4.125 kB / 445.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.08882, allocations: 3.938 kB / 445.7 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.08883, allocations: 0 / 445.7 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.561e-05/0.08892, allocations: 23.98 kB / 445.8 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001091/0.08903, allocations: 161.6 kB / 445.9 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.08918, allocations: 62.52 kB / 446 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.767e-05/0.08925, allocations: 28.89 kB / 446 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.08928, allocations: 7.984 kB / 446 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.0893, allocations: 30.56 kB / 446 MB, free: 12.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.08931, allocations: 3.938 kB / 446.1 MB, free: 12.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002006/0.08951, allocations: 81.73 kB / 446.1 MB, free: 12.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.08956, allocations: 51.41 kB / 446.2 MB, free: 12.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.576e-05/0.08962, allocations: 113.8 kB / 446.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.803e-06/0.08964, allocations: 25.7 kB / 446.3 MB, free: 12.58 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.478e-05/0.08967, allocations: 84.14 kB / 446.4 MB, free: 12.49 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.524e-06/0.08968, allocations: 0 / 446.4 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.08969, allocations: 4 kB / 446.4 MB, free: 12.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.456e-05/0.08974, allocations: 314.8 kB / 446.7 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-06/0.08975, allocations: 4 kB / 446.7 MB, free: 12.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-05/0.08978, allocations: 35.38 kB / 446.8 MB, free: 12.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.899e-05/0.08981, allocations: 31.42 kB / 446.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.08982, allocations: 4 kB / 446.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.691e-05/0.08989, allocations: 57.48 kB / 446.8 MB, free: 12.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.08992, allocations: 8.125 kB / 446.9 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.08993, allocations: 7.922 kB / 446.9 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.08995, allocations: 4 kB / 446.9 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.947e-05/0.09, allocations: 4 kB / 446.9 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.09001, allocations: 0 / 446.9 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.952e-05/0.09004, allocations: 4 kB / 446.9 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.09005, allocations: 0 / 446.9 MB, free: 11.98 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.693e-05/0.09012, allocations: 114.7 kB / 447 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.95e-05/0.09022, allocations: 65.61 kB / 447 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.09027, allocations: 19.78 kB / 447.1 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.09027, allocations: 0 / 447.1 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.09028, allocations: 0 / 447.1 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.09029, allocations: 0 / 447.1 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.58e-05/0.09035, allocations: 153.7 kB / 447.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.09036, allocations: 0 / 447.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.191e-05/0.09041, allocations: 11.98 kB / 447.2 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.09042, allocations: 0 / 447.2 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.09044, allocations: 7.938 kB / 447.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.09044, allocations: 3.938 kB / 447.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.09045, allocations: 4 kB / 447.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.09057, allocations: 92.95 kB / 447.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.874e-05/0.0906, allocations: 77.11 kB / 447.4 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.09062, allocations: 3.938 kB / 447.4 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.441e-05/0.09065, allocations: 8 kB / 447.4 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-06/0.09066, allocations: 256 / 447.4 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.09067, allocations: 0 / 447.4 MB, free: 11.33 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.6e-05/0.0907, allocations: 91.27 kB / 447.5 MB, free: 11.24 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.09071, allocations: 0 / 447.5 MB, free: 11.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001755/0.09089, allocations: 4 kB / 447.5 MB, free: 11.23 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.203e-05/0.09097, allocations: 91.25 kB / 447.6 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.676e-05/0.09107, allocations: 35.92 kB / 447.6 MB, free: 11.1 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.09108, allocations: 0 / 447.6 MB, free: 11.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.09109, allocations: 0 / 447.6 MB, free: 11.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.09131, allocations: 23.98 kB / 447.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/0.09157, allocations: 146.4 kB / 447.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.0917, allocations: 0.6851 MB / 448.5 MB, free: 10.19 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/0.09173, allocations: 7.438 kB / 448.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.09173, allocations: 4 kB / 448.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of Templates: time 0.001755/0.09349, allocations: 0.5486 MB / 449 MB, free: 9.629 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches