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.001005/0.001006, allocations: 95.25 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001192/0.001192, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.7 MB / 247.5 MB, free: 9.504 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002597/0.0002598, allocations: 8 kB / 308.4 MB, free: 0.5859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09916/0.09944, allocations: 51.53 MB / 359.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.001951/0.1014, allocations: 1.223 MB / 361.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003634/0.1018, allocations: 139.6 kB / 361.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.181e-05/0.1019, allocations: 0 / 361.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.102, allocations: 0 / 361.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.1021, allocations: 11.92 kB / 361.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.1023, allocations: 31.91 kB / 361.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.9e-05/0.1024, allocations: 35.98 kB / 361.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.424e-05/0.1025, allocations: 8 kB / 361.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.093e-05/0.1026, allocations: 11.88 kB / 361.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.334e-05/0.1026, allocations: 15.86 kB / 361.4 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.1026, allocations: 0 / 361.4 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.1027, allocations: 4 kB / 361.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.024e-05/0.1027, allocations: 11.98 kB / 361.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.034e-05/0.1028, allocations: 49.5 kB / 361.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.831e-05/0.1028, allocations: 23.95 kB / 361.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1029, allocations: 4 kB / 361.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1029, allocations: 0 / 361.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.1029, allocations: 0 / 361.5 MB, free: 11.48 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.0004537/0.1033, allocations: 347.6 kB / 361.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.1034, allocations: 12.03 kB / 361.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.1034, allocations: 8.844 kB / 361.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.1037, allocations: 192 kB / 362 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.1037, allocations: 4.375 kB / 362 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.1038, allocations: 12.31 kB / 362 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.104, allocations: 113.5 kB / 362.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.1041, allocations: 192 / 362.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1041, allocations: 3.938 kB / 362.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1041, allocations: 0 / 362.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.603e-05/0.1042, allocations: 23.98 kB / 362.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.1045, allocations: 261.8 kB / 362.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.1047, allocations: 134.2 kB / 362.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.36e-05/0.1048, allocations: 29.77 kB / 362.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1048, allocations: 7.938 kB / 362.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.1048, allocations: 38.55 kB / 362.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1048, allocations: 0 / 362.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002527/0.1051, allocations: 69.66 kB / 362.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.1051, allocations: 85.11 kB / 362.8 MB, free: 9.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.1053, allocations: 132.8 kB / 362.9 MB, free: 9.793 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.1053, allocations: 25.7 kB / 363 MB, free: 9.762 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.1054, allocations: 92.12 kB / 363 MB, free: 9.668 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.197e-06/0.1054, allocations: 0 / 363 MB, free: 9.668 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.1054, allocations: 9.719 kB / 363.1 MB, free: 9.652 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1056, allocations: 318.8 kB / 363.4 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.836e-05/0.1057, allocations: 11.98 kB / 363.4 MB, free: 9.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.881e-05/0.1057, allocations: 31.44 kB / 363.4 MB, free: 9.277 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.836e-05/0.1058, allocations: 47.36 kB / 363.5 MB, free: 9.219 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1058, allocations: 0 / 363.5 MB, free: 9.219 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001215/0.106, allocations: 69.41 kB / 363.5 MB, free: 9.145 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.106, allocations: 4 kB / 363.5 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.106, allocations: 4 kB / 363.5 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.106, allocations: 0 / 363.5 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.108e-05/0.106, allocations: 0 / 363.5 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.106, allocations: 8.109 kB / 363.5 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.334e-05/0.1061, allocations: 11.88 kB / 363.5 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.1061, allocations: 4 kB / 363.6 MB, free: 9.113 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 9.485e-05/0.1062, allocations: 121.7 kB / 363.7 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.497e-05/0.1063, allocations: 53.53 kB / 363.7 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.613e-05/0.1063, allocations: 11.91 kB / 363.7 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1063, allocations: 0 / 363.7 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1063, allocations: 0 / 363.7 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1064, allocations: 4 kB / 363.7 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.1065, allocations: 177.6 kB / 363.9 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1065, allocations: 0 / 363.9 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.944e-06/0.1065, allocations: 3.938 kB / 363.9 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1066, allocations: 0 / 363.9 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.1066, allocations: 0 / 363.9 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.1066, allocations: 7.984 kB / 363.9 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1066, allocations: 0 / 363.9 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.1068, allocations: 168.2 kB / 364.1 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/0.1068, allocations: 89.09 kB / 364.2 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.1069, allocations: 4 kB / 364.2 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.353e-05/0.1069, allocations: 0 / 364.2 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.1069, allocations: 0 / 364.2 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-06/0.107, allocations: 7.984 kB / 364.2 MB, free: 8.367 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.166e-05/0.107, allocations: 99.27 kB / 364.3 MB, free: 8.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.107, allocations: 0 / 364.3 MB, free: 8.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.1073, allocations: 7.906 kB / 364.3 MB, free: 8.262 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 0.0001155/0.1074, allocations: 103.2 kB / 364.4 MB, free: 8.152 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.1075, allocations: 32.3 kB / 364.4 MB, free: 8.121 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1075, allocations: 0 / 364.4 MB, free: 8.121 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.845e-05/0.1076, allocations: 8 kB / 364.4 MB, free: 8.113 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.1079, allocations: 28.09 kB / 364.5 MB, free: 8.086 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/0.1083, allocations: 203.4 kB / 364.7 MB, free: 7.848 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.1086, allocations: 0.6848 MB / 365.3 MB, free: 7.137 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.1086, allocations: 11.42 kB / 365.4 MB, free: 7.125 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1086, allocations: 0 / 365.4 MB, free: 7.125 MB / 302.1 MB Notification: Performance of Templates: time 0.002103/0.1107, allocations: 0.6736 MB / 366 MB, free: 6.457 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/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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches