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.001322/0.001322, allocations: 177.8 kB / 16.76 MB, free: 4.926 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.325/1.325, allocations: 205 MB / 222.5 MB, free: 9.062 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.0007999/0.0007998, allocations: 92.55 kB / 270.5 MB, free: 8.66 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.078/0.078, allocations: 12.57 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003657, allocations: 12 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08896/0.08935, allocations: 49.99 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1): time 0.002036/0.09145, allocations: 1.219 MB / 442.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004644/0.09194, allocations: 139.6 kB / 443 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.693e-05/0.09206, allocations: 0 / 443 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.205e-05/0.09217, allocations: 3.984 kB / 443 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.09233, allocations: 7.938 kB / 443.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.09268, allocations: 35.91 kB / 443.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.0928, allocations: 23.98 kB / 443.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.09294, allocations: 19.97 kB / 443.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.849e-05/0.09299, allocations: 15.88 kB / 443.1 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.912e-05/0.09305, allocations: 15.86 kB / 443.2 MB, free: 14.9 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.09309, allocations: 4 kB / 443.2 MB, free: 14.9 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.376e-05/0.09311, allocations: 0 / 443.2 MB, free: 14.9 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.6e-05/0.0932, allocations: 11.92 kB / 443.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.09e-05/0.09326, allocations: 19.88 kB / 443.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.451e-05/0.09334, allocations: 20.23 kB / 443.2 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.09337, allocations: 4 kB / 443.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.09338, allocations: 0 / 443.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.0934, allocations: 0 / 443.2 MB, free: 14.84 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004265/0.09384, allocations: 367.2 kB / 443.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.09389, allocations: 8.031 kB / 443.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.09395, allocations: 16.78 kB / 443.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.09415, allocations: 180.2 kB / 443.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.09419, allocations: 384 / 443.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.09422, allocations: 12.31 kB / 443.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.09457, allocations: 113.6 kB / 443.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.0946, allocations: 192 / 443.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.09463, allocations: 3.938 kB / 443.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.09465, allocations: 4 kB / 443.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.09476, allocations: 19.98 kB / 443.9 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.0951, allocations: 261.7 kB / 444.2 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.09531, allocations: 138.2 kB / 444.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.595e-05/0.09541, allocations: 29.78 kB / 444.4 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.09545, allocations: 3.938 kB / 444.4 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.09548, allocations: 34.55 kB / 444.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 2.174e-06/0.0955, allocations: 0 / 444.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003176/0.09583, allocations: 73.62 kB / 444.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.09589, allocations: 85.14 kB / 444.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.09603, allocations: 129.8 kB / 444.7 MB, free: 13.15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.09606, allocations: 33.69 kB / 444.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.48e-05/0.0961, allocations: 84.14 kB / 444.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.289e-05/0.09613, allocations: 3.906 kB / 444.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.09618, allocations: 13.72 kB / 444.8 MB, free: 13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.081e-05/0.09625, allocations: 314.8 kB / 445.1 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.396e-05/0.09632, allocations: 15.98 kB / 445.1 MB, free: 12.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.662e-05/0.09639, allocations: 27.44 kB / 445.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.587e-05/0.09651, allocations: 47.36 kB / 445.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.09652, allocations: 0 / 445.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001628/0.0967, allocations: 69.5 kB / 445.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.09673, allocations: 8.938 kB / 445.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.09675, allocations: 0 / 445.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.09677, allocations: 0 / 445.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.743e-05/0.0968, allocations: 4 kB / 445.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.09682, allocations: 8.047 kB / 445.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.41e-05/0.09689, allocations: 8 kB / 445.3 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.09691, allocations: 3.938 kB / 445.3 MB, free: 12.46 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: 4 (step.y,sample.y,assignClock.y,assignClock.u) * 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 8.641e-05/0.09701, allocations: 118.7 kB / 445.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.907e-05/0.09713, allocations: 53.53 kB / 445.5 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.982e-05/0.0972, allocations: 12.23 kB / 445.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.09722, allocations: 0 / 445.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.09723, allocations: 0 / 445.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.09725, allocations: 7.984 kB / 445.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.09747, allocations: 173.6 kB / 445.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.09749, allocations: 4 kB / 445.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.197e-05/0.09751, allocations: 0 / 445.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.09753, allocations: 0 / 445.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.09755, allocations: 7.984 kB / 445.7 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.09757, allocations: 0 / 445.7 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.09758, allocations: 0 / 445.7 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.09777, allocations: 168.2 kB / 445.8 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.09785, allocations: 97 kB / 445.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.09789, allocations: 0 / 445.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.098, allocations: 0 / 445.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.09806, allocations: 7.984 kB / 445.9 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.09809, allocations: 0 / 445.9 MB, free: 11.72 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.023e-05/0.09817, allocations: 103.3 kB / 446 MB, free: 11.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.09819, allocations: 0 / 446 MB, free: 11.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004189/0.09861, allocations: 4 kB / 446 MB, free: 11.62 MB / 298.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 (step.y,assignClock.u,assignClock.y,sample.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 9.089e-05/0.09873, allocations: 95.25 kB / 446.1 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001626/0.0989, allocations: 27.92 kB / 446.2 MB, free: 11.49 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.09893, allocations: 0 / 446.2 MB, free: 11.49 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/0.09897, allocations: 4 kB / 446.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005218/0.09951, allocations: 35.89 kB / 446.2 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.09992, allocations: 194 kB / 446.4 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.1001, allocations: 0.6887 MB / 447.1 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.1001, allocations: 11.44 kB / 447.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1001, allocations: 0 / 447.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of Templates: time 0.002644/0.1028, allocations: 0.6717 MB / 447.8 MB, free: 9.824 MB / 298.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/jenkins1/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