Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001079/0.001079, allocations: 103.5 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 192.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002346/0.0002346, allocations: 4 kB / 307.1 MB, free: 1.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1172, allocations: 51.53 MB / 358.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002276/0.1195, allocations: 1.207 MB / 359.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003871/0.12, allocations: 147.6 kB / 360 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.272e-05/0.12, allocations: 4 kB / 360 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.1201, allocations: 3.938 kB / 360 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.373e-05/0.1202, allocations: 3.984 kB / 360 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.1204, allocations: 31.92 kB / 360 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.599e-05/0.1205, allocations: 31.91 kB / 360.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.383e-05/0.1206, allocations: 11.98 kB / 360.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.596e-05/0.1206, allocations: 7.938 kB / 360.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.707e-05/0.1207, allocations: 11.92 kB / 360.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.1207, allocations: 4 kB / 360.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.344e-06/0.1207, allocations: 4 kB / 360.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.291e-05/0.1208, allocations: 11.94 kB / 360.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.1208, allocations: 33.69 kB / 360.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.507e-05/0.1209, allocations: 31.94 kB / 360.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1209, allocations: 3.938 kB / 360.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1209, allocations: 0 / 360.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1209, allocations: 0 / 360.2 MB, free: 12.09 MB / 302.1 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.0004194/0.1213, allocations: 355.4 kB / 360.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.1214, allocations: 8.031 kB / 360.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.1214, allocations: 11.91 kB / 360.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.1217, allocations: 185.7 kB / 360.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1217, allocations: 0 / 360.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.1217, allocations: 8 kB / 360.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.122, allocations: 124.9 kB / 360.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.577e-06/0.1221, allocations: 3.938 kB / 360.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.1221, allocations: 0 / 360.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.1221, allocations: 4 kB / 360.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.88e-05/0.1222, allocations: 15.98 kB / 360.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.1226, allocations: 253.8 kB / 361.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.1228, allocations: 146.2 kB / 361.3 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.075e-05/0.1229, allocations: 25.77 kB / 361.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.1229, allocations: 4 kB / 361.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.1229, allocations: 34.56 kB / 361.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.1229, allocations: 3.938 kB / 361.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002701/0.1232, allocations: 69.58 kB / 361.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.072e-05/0.1233, allocations: 89.05 kB / 361.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.1235, allocations: 125.8 kB / 361.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.1235, allocations: 25.7 kB / 361.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.1236, allocations: 92.03 kB / 361.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.1236, allocations: 8.125 kB / 361.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.1236, allocations: 3.938 kB / 361.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1238, allocations: 314.8 kB / 362 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.828e-05/0.1238, allocations: 4 kB / 362 MB, free: 9.957 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.92e-05/0.1239, allocations: 35.42 kB / 362.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.834e-05/0.1239, allocations: 12 kB / 362.1 MB, free: 9.898 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.124, allocations: 0 / 362.1 MB, free: 9.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001694/0.1241, allocations: 69.52 kB / 362.2 MB, free: 9.824 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1242, allocations: 7.984 kB / 362.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1242, allocations: 4 kB / 362.2 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.1242, allocations: 0 / 362.2 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.21e-05/0.1242, allocations: 4.125 kB / 362.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1242, allocations: 4 kB / 362.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.804e-05/0.1243, allocations: 3.938 kB / 362.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.1243, allocations: 4 kB / 362.2 MB, free: 9.797 MB / 302.1 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,sample1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.1244, allocations: 117.8 kB / 362.3 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.1246, allocations: 57.48 kB / 362.4 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.1246, allocations: 11.91 kB / 362.4 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1246, allocations: 3.984 kB / 362.4 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1246, allocations: 4 kB / 362.4 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1246, allocations: 0 / 362.4 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.1249, allocations: 169.6 kB / 362.5 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1249, allocations: 4 kB / 362.5 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.257e-06/0.1249, allocations: 0 / 362.5 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.1249, allocations: 8.219 kB / 362.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.125, allocations: 0 / 362.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.125, allocations: 4 kB / 362.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.125, allocations: 0 / 362.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.1252, allocations: 172.2 kB / 362.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.68e-05/0.1253, allocations: 93 kB / 362.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.1253, allocations: 3.953 kB / 362.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.721e-05/0.1254, allocations: 7.984 kB / 362.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-05/0.1255, allocations: 0 / 362.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.1255, allocations: 4 kB / 362.8 MB, free: 9.039 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.874e-05/0.1256, allocations: 101.9 kB / 362.9 MB, free: 8.941 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1256, allocations: 4 kB / 362.9 MB, free: 8.938 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004214/0.126, allocations: 4 kB / 362.9 MB, free: 8.934 MB / 302.1 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,sample1.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 0.0001054/0.1261, allocations: 99.19 kB / 363 MB, free: 8.828 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.1263, allocations: 27.92 kB / 363.1 MB, free: 8.801 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1263, allocations: 0 / 363.1 MB, free: 8.801 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.933e-05/0.1263, allocations: 12.23 kB / 363.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000459/0.1268, allocations: 24.09 kB / 363.1 MB, free: 8.766 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/0.1272, allocations: 161.7 kB / 363.3 MB, free: 8.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.1275, allocations: 0.6887 MB / 363.9 MB, free: 7.855 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.812e-05/0.1276, allocations: 4 kB / 364 MB, free: 7.852 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.1276, allocations: 11.44 kB / 364 MB, free: 7.84 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1276, allocations: 0 / 364 MB, free: 7.84 MB / 302.1 MB Notification: Performance of Templates: time 0.00308/0.1307, allocations: 419.4 kB / 364.4 MB, free: 7.434 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches