Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001743/0.001742, allocations: 177.6 kB / 8.045 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 1.485/1.485, allocations: 205.3 MB / 213.8 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008553/0.0008553, allocations: 78.31 kB / 261.8 MB, free: 1.691 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.06562/0.06562, allocations: 12.6 MB / 322.3 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.616e-05/1.61e-05, allocations: 0 / 378.9 MB, free: 6.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2045, allocations: 50.37 MB / 429.3 MB, free: 18.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09117/0.2957, allocations: 77 MB / 0.4944 GB, free: 5.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.2959, allocations: 75.95 kB / 0.4945 GB, free: 5.176 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00244/0.2984, allocations: 1.064 MB / 0.4955 GB, free: 4.113 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.2984, allocations: 0 / 0.4955 GB, free: 4.113 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.2984, allocations: 7.938 kB / 0.4956 GB, free: 4.105 MB / 346.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.0003246/0.2988, allocations: 338.5 kB / 0.4959 GB, free: 3.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.2988, allocations: 8.031 kB / 0.4959 GB, free: 3.723 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.2989, allocations: 7.906 kB / 0.4959 GB, free: 3.715 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.2991, allocations: 186.9 kB / 0.4961 GB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.2991, allocations: 0 / 0.4961 GB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.2992, allocations: 7.953 kB / 0.4961 GB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.061e-05/0.2992, allocations: 15.98 kB / 0.4961 GB, free: 3.469 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.2995, allocations: 104.9 kB / 0.4962 GB, free: 3.348 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.2995, allocations: 0 / 0.4962 GB, free: 3.348 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.2995, allocations: 0 / 0.4962 GB, free: 3.348 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.2995, allocations: 0 / 0.4962 GB, free: 3.348 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.2998, allocations: 242.3 kB / 0.4964 GB, free: 3.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.3, allocations: 134.2 kB / 0.4966 GB, free: 2.902 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.502e-05/0.3001, allocations: 21.84 kB / 0.4966 GB, free: 2.875 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.3001, allocations: 4 kB / 0.4966 GB, free: 2.871 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.3001, allocations: 34.56 kB / 0.4966 GB, free: 2.828 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.3001, allocations: 0 / 0.4966 GB, free: 2.828 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001687/0.3003, allocations: 53.62 kB / 0.4967 GB, free: 2.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.3004, allocations: 81.11 kB / 0.4967 GB, free: 2.672 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.3005, allocations: 116.8 kB / 0.4969 GB, free: 2.555 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.3005, allocations: 25.7 kB / 0.4969 GB, free: 2.523 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.3006, allocations: 84.14 kB / 0.497 GB, free: 2.438 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.116e-05/0.3006, allocations: 7.984 kB / 0.497 GB, free: 2.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-06/0.3006, allocations: 4.031 kB / 0.497 GB, free: 2.426 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3007, allocations: 314.8 kB / 0.4973 GB, free: 2.109 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51e-05/0.3008, allocations: 4 kB / 0.4973 GB, free: 2.105 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.229e-05/0.3008, allocations: 27.44 kB / 0.4973 GB, free: 2.066 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.014e-05/0.3008, allocations: 4 kB / 0.4973 GB, free: 2.062 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3008, allocations: 4 kB / 0.4973 GB, free: 2.059 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001021/0.3009, allocations: 61.42 kB / 0.4974 GB, free: 1.992 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.301, allocations: 8 kB / 0.4974 GB, free: 1.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.301, allocations: 3.984 kB / 0.4974 GB, free: 1.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.301, allocations: 0 / 0.4974 GB, free: 1.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.558e-05/0.301, allocations: 4 kB / 0.4974 GB, free: 1.977 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.301, allocations: 3.984 kB / 0.4974 GB, free: 1.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.3011, allocations: 4 kB / 0.4974 GB, free: 1.969 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.3011, allocations: 4.125 kB / 0.4974 GB, free: 1.965 MB / 346.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: 4 (sample.u,sample.y,assignClock.y,assignClock.u) * Number of discrete 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 7.012e-05/0.3012, allocations: 105 kB / 0.4975 GB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.341e-05/0.3013, allocations: 49.5 kB / 0.4975 GB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.641e-05/0.3013, allocations: 12.33 kB / 0.4975 GB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3013, allocations: 3.938 kB / 0.4976 GB, free: 1.785 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3013, allocations: 0 / 0.4976 GB, free: 1.785 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3014, allocations: 4.188 kB / 0.4976 GB, free: 1.781 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.3015, allocations: 142.2 kB / 0.4977 GB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3015, allocations: 11.94 kB / 0.4977 GB, free: 1.594 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.817e-06/0.3016, allocations: 4 kB / 0.4977 GB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3016, allocations: 3.984 kB / 0.4977 GB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.3016, allocations: 0 / 0.4977 GB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.3016, allocations: 7.953 kB / 0.4977 GB, free: 1.578 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3016, allocations: 0 / 0.4977 GB, free: 1.578 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.3018, allocations: 158.1 kB / 0.4979 GB, free: 1.398 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.233e-05/0.3018, allocations: 93 kB / 0.498 GB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.3019, allocations: 3.953 kB / 0.498 GB, free: 1.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.139e-05/0.3019, allocations: 0 / 0.498 GB, free: 1.285 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.302, allocations: 11.92 kB / 0.498 GB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.302, allocations: 4 kB / 0.498 GB, free: 1.27 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.745e-05/0.3021, allocations: 91.28 kB / 0.4981 GB, free: 1.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.3021, allocations: 0 / 0.4981 GB, free: 1.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002225/0.3023, allocations: 4 kB / 0.4981 GB, free: 1.176 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (sample.u,assignClock.u,assignClock.y,sample.y) * Number of discrete 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 8.947e-05/0.3024, allocations: 99.23 kB / 0.4982 GB, free: 1.066 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.854e-05/0.3025, allocations: 16 kB / 0.4982 GB, free: 1.051 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3025, allocations: 0 / 0.4982 GB, free: 1.051 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.175e-05/0.3025, allocations: 7.938 kB / 0.4982 GB, free: 1.043 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.3027, allocations: 15.41 kB / 0.4982 GB, free: 1.031 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001976/0.3029, allocations: 100.8 kB / 0.4983 GB, free: 0.9023 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.3032, allocations: 0.6888 MB / 0.499 GB, free: 192 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.366e-05/0.3032, allocations: 15.92 kB / 0.499 GB, free: 176 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.056e-05/0.3032, allocations: 7.438 kB / 0.499 GB, free: 168 kB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3032, allocations: 0 / 0.499 GB, free: 168 kB / 346.7 MB Notification: Performance of Templates: time 0.001946/0.3052, allocations: 403.1 kB / 0.4994 GB, free: 15.77 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches