Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_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_cpp_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.000902/0.000902, allocations: 175.3 kB / 16.45 MB, free: 5.684 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.324/1.324, allocations: 205.4 MB / 222.6 MB, free: 9.109 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.0007881/0.0007881, allocations: 98.28 kB / 270.9 MB, free: 8.336 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.06609/0.06609, allocations: 12.6 MB / 331.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003734, allocations: 12 kB / 392 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06574/0.06613, allocations: 50.38 MB / 442.4 MB, free: 16.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001152/0.06733, allocations: 1.136 MB / 443.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001938/0.06754, allocations: 103.7 kB / 443.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/0.06759, allocations: 0 / 443.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.138e-05/0.06762, allocations: 0 / 443.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.141e-05/0.06765, allocations: 0 / 443.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.06785, allocations: 27.91 kB / 443.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.372e-05/0.06793, allocations: 23.92 kB / 443.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.466e-05/0.068, allocations: 4 kB / 443.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.31e-05/0.06803, allocations: 7.938 kB / 443.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.565e-05/0.06806, allocations: 11.98 kB / 443.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.06808, allocations: 4 kB / 443.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.614e-06/0.0681, allocations: 0 / 443.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.06811, allocations: 7.938 kB / 443.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.06814, allocations: 25.7 kB / 443.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 4.254e-05/0.06819, allocations: 19.95 kB / 443.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.0682, allocations: 0 / 443.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.0682, allocations: 0 / 443.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.06821, allocations: 3.938 kB / 443.7 MB, free: 15.06 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.00025/0.06847, allocations: 335.5 kB / 444.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.0685, allocations: 12.03 kB / 444.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/0.06853, allocations: 7.844 kB / 444.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.06864, allocations: 171.1 kB / 444.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.06866, allocations: 0 / 444.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.06868, allocations: 15.89 kB / 444.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.06891, allocations: 99.31 kB / 444.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.06893, allocations: 0 / 444.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.06894, allocations: 0 / 444.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.06895, allocations: 0 / 444.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.761e-05/0.06901, allocations: 19.98 kB / 444.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.047e-05/0.0691, allocations: 153.7 kB / 444.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.06922, allocations: 54.55 kB / 444.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.549e-05/0.06928, allocations: 28.92 kB / 444.6 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.06931, allocations: 7.891 kB / 444.6 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.06933, allocations: 30.56 kB / 444.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.06933, allocations: 0 / 444.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001621/0.0695, allocations: 69.58 kB / 444.7 MB, free: 13.9 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.06953, allocations: 55.41 kB / 444.8 MB, free: 13.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.443e-05/0.06958, allocations: 105.8 kB / 444.9 MB, free: 13.72 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.702e-06/0.0696, allocations: 29.7 kB / 444.9 MB, free: 13.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.699e-05/0.06962, allocations: 80.14 kB / 445 MB, free: 13.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.659e-06/0.06963, allocations: 0 / 445 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-06/0.06964, allocations: 0 / 445 MB, free: 13.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.06968, allocations: 318.8 kB / 445.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-06/0.0697, allocations: 3.938 kB / 445.3 MB, free: 13.28 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.738e-05/0.06972, allocations: 31.42 kB / 445.3 MB, free: 13.24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.736e-05/0.06974, allocations: 8 kB / 445.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.06975, allocations: 0 / 445.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.767e-05/0.06981, allocations: 53.62 kB / 445.4 MB, free: 13.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.06983, allocations: 16.08 kB / 445.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.06984, allocations: 0 / 445.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.06985, allocations: 0 / 445.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.421e-05/0.06989, allocations: 7.938 kB / 445.4 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.0699, allocations: 0 / 445.4 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.06993, allocations: 7.938 kB / 445.4 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-06/0.06994, allocations: 0 / 445.4 MB, free: 13.14 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.662e-05/0.06999, allocations: 122.4 kB / 445.6 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.832e-05/0.07007, allocations: 57.59 kB / 445.6 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.151e-05/0.0701, allocations: 15.44 kB / 445.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.07011, allocations: 4 kB / 445.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.07012, allocations: 3.938 kB / 445.6 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.07012, allocations: 0 / 445.6 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.645e-05/0.07017, allocations: 153.7 kB / 445.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.07018, allocations: 0 / 445.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.812e-05/0.0702, allocations: 3.938 kB / 445.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.07021, allocations: 0 / 445.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.07022, allocations: 4 kB / 445.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.07023, allocations: 3.953 kB / 445.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.07024, allocations: 7.984 kB / 445.8 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.354e-05/0.07033, allocations: 77.12 kB / 445.9 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.601e-05/0.07036, allocations: 81.02 kB / 446 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.07037, allocations: 0 / 446 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.1e-05/0.0704, allocations: 4 kB / 446 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-06/0.07041, allocations: 4.578 kB / 446 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.07042, allocations: 4 kB / 446 MB, free: 12.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.07e-05/0.07044, allocations: 91.27 kB / 446.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07045, allocations: 0 / 446.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001739/0.07063, allocations: 4 kB / 446.1 MB, free: 12.41 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.92e-05/0.07069, allocations: 95.19 kB / 446.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.56e-05/0.07078, allocations: 19.98 kB / 446.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.07079, allocations: 4 kB / 446.2 MB, free: 12.28 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.0708, allocations: 4.25 kB / 446.2 MB, free: 12.28 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.07099, allocations: 31.95 kB / 446.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001947/0.07119, allocations: 138.3 kB / 446.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.379e-05/0.07129, allocations: 0.6809 MB / 447 MB, free: 11.37 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.65e-05/0.07131, allocations: 7.438 kB / 447 MB, free: 11.36 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.07132, allocations: 0 / 447 MB, free: 11.36 MB / 298.7 MB Notification: Performance of Templates: time 0.001382/0.07271, allocations: 0.5367 MB / 447.6 MB, free: 10.82 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches