Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007042/0.0007042, allocations: 90.06 kB / 17.31 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007901/0.0007901, allocations: 172.7 kB / 18.21 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 223.3 MB / 242.3 MB, free: 14.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002225/0.0002225, allocations: 7.938 kB / 302.1 MB, free: 5.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07347/0.07371, allocations: 50.41 MB / 352.5 MB, free: 3.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.001419/0.07516, allocations: 1.218 MB / 353.7 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002938/0.07547, allocations: 135.5 kB / 353.8 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.962e-05/0.07554, allocations: 4 kB / 353.9 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.587e-05/0.07557, allocations: 3.938 kB / 353.9 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.668e-05/0.07568, allocations: 7.969 kB / 353.9 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.07588, allocations: 39.92 kB / 353.9 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.112e-05/0.07596, allocations: 31.91 kB / 353.9 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.797e-05/0.07605, allocations: 15.94 kB / 354 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.598e-05/0.07608, allocations: 11.92 kB / 354 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.664e-05/0.07611, allocations: 11.88 kB / 354 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.07613, allocations: 0 / 354 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-06/0.07614, allocations: 0 / 354 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.122e-05/0.07619, allocations: 11.98 kB / 354 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.137e-05/0.07624, allocations: 49.52 kB / 354 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.982e-05/0.0763, allocations: 27.94 kB / 354.1 MB, free: 1.859 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.07631, allocations: 0 / 354.1 MB, free: 1.859 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.07632, allocations: 0 / 354.1 MB, free: 1.859 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.07633, allocations: 0 / 354.1 MB, free: 1.859 MB / 286.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.0003302/0.07666, allocations: 351.6 kB / 354.4 MB, free: 1.465 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.0767, allocations: 8.031 kB / 354.4 MB, free: 1.457 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.07673, allocations: 8.844 kB / 354.4 MB, free: 1.449 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.07689, allocations: 199.4 kB / 354.6 MB, free: 1.219 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.07692, allocations: 12.31 kB / 354.6 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.07693, allocations: 384 / 354.6 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.07716, allocations: 113.6 kB / 354.7 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.07718, allocations: 192 / 354.7 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.07719, allocations: 7.922 kB / 354.7 MB, free: 1.07 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.0772, allocations: 4 kB / 354.8 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.201e-05/0.07727, allocations: 19.94 kB / 354.8 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002487/0.07753, allocations: 253.8 kB / 355 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.07768, allocations: 142.2 kB / 355.2 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.587e-05/0.07774, allocations: 29.77 kB / 355.2 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.07777, allocations: 4 kB / 355.2 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.0778, allocations: 30.56 kB / 355.2 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.0778, allocations: 0 / 355.2 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002004/0.07801, allocations: 77.72 kB / 355.3 MB, free: 420 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.07806, allocations: 81.09 kB / 355.4 MB, free: 320 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.587e-05/0.07816, allocations: 133.8 kB / 355.5 MB, free: 176 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.07818, allocations: 25.7 kB / 355.5 MB, free: 144 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.07822, allocations: 84.14 kB / 355.6 MB, free: 56 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.853e-06/0.07823, allocations: 0 / 355.6 MB, free: 56 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-05/0.07826, allocations: 13.72 kB / 355.6 MB, free: 36 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.566e-05/0.07836, allocations: 323 kB / 355.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.703e-05/0.07841, allocations: 11.88 kB / 356 MB, free: 15.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.153e-05/0.07846, allocations: 39.41 kB / 356 MB, free: 15.65 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.789e-05/0.07853, allocations: 43.38 kB / 356 MB, free: 15.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.07854, allocations: 0 / 356 MB, free: 15.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001157/0.07866, allocations: 69.47 kB / 356.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.07868, allocations: 4 kB / 356.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.07869, allocations: 0 / 356.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.07871, allocations: 7.984 kB / 356.1 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.949e-06/0.07872, allocations: 4.125 kB / 356.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.07873, allocations: 0 / 356.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.34e-05/0.07877, allocations: 7.938 kB / 356.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.07878, allocations: 0 / 356.1 MB, free: 15.5 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.901e-05/0.07886, allocations: 125.7 kB / 356.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/0.07893, allocations: 53.59 kB / 356.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.07897, allocations: 3.906 kB / 356.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.07897, allocations: 7.938 kB / 356.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.07898, allocations: 0 / 356.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.07899, allocations: 7.984 kB / 356.3 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.07914, allocations: 165.6 kB / 356.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.07915, allocations: 0 / 356.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.308e-05/0.07917, allocations: 11.98 kB / 356.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.07917, allocations: 0 / 356.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.758e-06/0.07918, allocations: 0 / 356.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.07919, allocations: 0 / 356.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.0792, allocations: 0 / 356.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.07934, allocations: 172.2 kB / 356.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.0794, allocations: 89.09 kB / 356.7 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.07942, allocations: 0 / 356.7 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.925e-05/0.07948, allocations: 7.984 kB / 356.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.985e-05/0.07951, allocations: 0 / 356.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.07952, allocations: 0 / 356.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.753e-05/0.07958, allocations: 103.3 kB / 356.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.07959, allocations: 0 / 356.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.07982, allocations: 8 kB / 356.9 MB, free: 14.64 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 (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.287e-05/0.0799, allocations: 103.2 kB / 357 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.08001, allocations: 27.92 kB / 357 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.08002, allocations: 0 / 357 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.787e-05/0.08006, allocations: 11.98 kB / 357 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.08038, allocations: 28.22 kB / 357 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000265/0.08066, allocations: 194.4 kB / 357.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.08088, allocations: 0.6965 MB / 357.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/0.0809, allocations: 15.38 kB / 357.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.08091, allocations: 0 / 357.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of Templates: time 0.001759/0.08268, allocations: 0.6651 MB / 358.6 MB, free: 12.84 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches