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.001558/0.001558, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001761/0.001761, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.393/1.393, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001035/0.001035, allocations: 51.03 kB / 301.3 MB, free: 5.855 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09613/0.09719, allocations: 49.44 MB / 350.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003057/0.1003, allocations: 1.491 MB / 352.2 MB, free: 2.898 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000446/0.1008, allocations: 141 kB / 352.4 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.53e-05/0.1009, allocations: 4 kB / 352.4 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.829e-05/0.1009, allocations: 7.922 kB / 352.4 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.1011, allocations: 3.938 kB / 352.4 MB, free: 2.746 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.1014, allocations: 41.66 kB / 352.4 MB, free: 2.707 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.658e-05/0.1015, allocations: 27.92 kB / 352.4 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1016, allocations: 23.98 kB / 352.5 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.752e-05/0.1017, allocations: 15.92 kB / 352.5 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.89e-05/0.1017, allocations: 19.86 kB / 352.5 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.1017, allocations: 4 kB / 352.5 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.122e-05/0.1017, allocations: 0 / 352.5 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.794e-05/0.1018, allocations: 11.98 kB / 352.5 MB, free: 2.605 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.173e-05/0.1019, allocations: 19.81 kB / 352.5 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.102, allocations: 43.81 kB / 352.6 MB, free: 2.543 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.102, allocations: 4 kB / 352.6 MB, free: 2.539 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.102, allocations: 0 / 352.6 MB, free: 2.539 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.102, allocations: 0 / 352.6 MB, free: 2.539 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.0004761/0.1025, allocations: 367.5 kB / 352.9 MB, free: 2.129 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.1025, allocations: 8.031 kB / 353 MB, free: 2.121 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.1026, allocations: 8.844 kB / 353 MB, free: 2.113 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.1028, allocations: 188.2 kB / 353.1 MB, free: 1.891 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.1028, allocations: 384 / 353.1 MB, free: 1.891 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.1028, allocations: 8.375 kB / 353.2 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.1031, allocations: 121.5 kB / 353.3 MB, free: 1.746 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1032, allocations: 192 / 353.3 MB, free: 1.746 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1032, allocations: 3.938 kB / 353.3 MB, free: 1.742 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1032, allocations: 0 / 353.3 MB, free: 1.742 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.075e-05/0.1033, allocations: 19.92 kB / 353.3 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.1036, allocations: 265.7 kB / 353.6 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.1038, allocations: 142.2 kB / 353.7 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.1039, allocations: 21.78 kB / 353.7 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.1039, allocations: 8 kB / 353.7 MB, free: 1.199 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.1039, allocations: 34.55 kB / 353.8 MB, free: 1.156 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.104, allocations: 0 / 353.8 MB, free: 1.156 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002416/0.1042, allocations: 65.62 kB / 353.8 MB, free: 1.086 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.1043, allocations: 77.11 kB / 353.9 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.1044, allocations: 140.8 kB / 354 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1044, allocations: 29.7 kB / 354.1 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.1045, allocations: 92.08 kB / 354.2 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.957e-06/0.1045, allocations: 0 / 354.2 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.1045, allocations: 17.72 kB / 354.2 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1047, allocations: 322.8 kB / 354.5 MB, free: 380 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.204e-05/0.1047, allocations: 4 kB / 354.5 MB, free: 376 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.838e-05/0.1048, allocations: 35.42 kB / 354.5 MB, free: 328 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.043e-05/0.1048, allocations: 39.38 kB / 354.6 MB, free: 276 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1049, allocations: 0 / 354.6 MB, free: 276 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001194/0.105, allocations: 69.53 kB / 354.6 MB, free: 200 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.105, allocations: 4 kB / 354.6 MB, free: 196 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.105, allocations: 0 / 354.6 MB, free: 196 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.105, allocations: 4 kB / 354.6 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.247e-05/0.1051, allocations: 3.984 kB / 354.6 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1051, allocations: 3.938 kB / 354.6 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.446e-05/0.1051, allocations: 7.938 kB / 354.7 MB, free: 176 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.1051, allocations: 0 / 354.7 MB, free: 176 kB / 286.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.391e-05/0.1052, allocations: 125.8 kB / 354.8 MB, free: 40 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.053e-05/0.1053, allocations: 53.66 kB / 354.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.439e-05/0.1054, allocations: 7.906 kB / 354.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1054, allocations: 4 kB / 354.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1054, allocations: 0 / 354.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1054, allocations: 3.938 kB / 354.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.1056, allocations: 173.6 kB / 355 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1056, allocations: 0 / 355 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.136e-05/0.1056, allocations: 7.984 kB / 355 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1056, allocations: 336 / 355 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.1056, allocations: 0 / 355 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1056, allocations: 3.938 kB / 355 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1056, allocations: 4 kB / 355 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.1058, allocations: 164.2 kB / 355.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.1058, allocations: 89.09 kB / 355.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.1059, allocations: 4 kB / 355.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.414e-05/0.1059, allocations: 3.938 kB / 355.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.106, allocations: 3.984 kB / 355.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.106, allocations: 8 kB / 355.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.313e-05/0.1061, allocations: 99.27 kB / 355.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1061, allocations: 0 / 355.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.1063, allocations: 4 kB / 355.4 MB, free: 15.32 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 9.959e-05/0.1064, allocations: 107.1 kB / 355.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.1065, allocations: 27.98 kB / 355.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1066, allocations: 4.25 kB / 355.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.968e-05/0.1066, allocations: 11.92 kB / 355.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.107, allocations: 19.91 kB / 355.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.1073, allocations: 179.9 kB / 355.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.1076, allocations: 0.6963 MB / 356.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.1076, allocations: 7.438 kB / 356.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1077, allocations: 0 / 356.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of Templates: time 0.002086/0.1097, allocations: 0.6757 MB / 357.1 MB, free: 13.52 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