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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 124.5 kB / 18.46 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 190.7 kB / 21.4 MB, free: 1.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 225.6 MB / 249.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] 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=5011,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=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 47.92 kB / 366.8 MB, free: 356 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09354/0.09502, allocations: 52.14 MB / 418.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002782/0.0978, allocations: 1.511 MB / 420.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004015/0.0982, allocations: 143.5 kB / 420.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.752e-05/0.09828, allocations: 3.938 kB / 420.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.223e-05/0.09832, allocations: 3.938 kB / 420.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.09843, allocations: 11.92 kB / 420.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.09865, allocations: 31.91 kB / 420.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.09875, allocations: 39.86 kB / 420.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.09885, allocations: 15.98 kB / 420.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.488e-05/0.09889, allocations: 11.94 kB / 420.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.038e-05/0.09893, allocations: 15.92 kB / 420.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.09895, allocations: 0 / 420.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.226e-05/0.09896, allocations: 4 kB / 420.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.92e-05/0.09901, allocations: 11.92 kB / 420.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.09905, allocations: 27.8 kB / 420.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.09916, allocations: 43.77 kB / 420.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.09916, allocations: 0 / 420.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09917, allocations: 0 / 420.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.09917, allocations: 0 / 420.8 MB, free: 10.23 MB / 350.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.0004922/0.09966, allocations: 367.2 kB / 421.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.0997, allocations: 12.03 kB / 421.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.09973, allocations: 8.891 kB / 421.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.1, allocations: 196.2 kB / 421.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.1, allocations: 4.375 kB / 421.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.1001, allocations: 4.312 kB / 421.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.1003, allocations: 113.6 kB / 421.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.1003, allocations: 192 / 421.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1003, allocations: 3.938 kB / 421.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1003, allocations: 4 kB / 421.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.318e-05/0.1004, allocations: 23.86 kB / 421.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003337/0.1007, allocations: 261.8 kB / 421.8 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.1009, allocations: 134.2 kB / 421.9 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.615e-05/0.101, allocations: 33.75 kB / 422 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.101, allocations: 0 / 422 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.101, allocations: 42.56 kB / 422 MB, free: 8.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.101, allocations: 0 / 422 MB, free: 8.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002407/0.1013, allocations: 73.56 kB / 422.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.1013, allocations: 77.11 kB / 422.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.1014, allocations: 132.9 kB / 422.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1015, allocations: 25.7 kB / 422.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.905e-05/0.1015, allocations: 100.2 kB / 422.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.085e-06/0.1015, allocations: 0 / 422.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.1016, allocations: 21.7 kB / 422.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1017, allocations: 310.8 kB / 422.7 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.084e-05/0.1017, allocations: 8 kB / 422.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.089e-05/0.1018, allocations: 31.42 kB / 422.8 MB, free: 8.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.318e-05/0.1018, allocations: 43.36 kB / 422.8 MB, free: 7.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1019, allocations: 4 kB / 422.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001116/0.102, allocations: 65.52 kB / 422.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.102, allocations: 12.12 kB / 422.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.102, allocations: 0 / 422.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.102, allocations: 0 / 422.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-05/0.102, allocations: 4 kB / 422.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.102, allocations: 3.938 kB / 422.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.263e-05/0.1021, allocations: 4 kB / 422.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.1021, allocations: 0 / 422.9 MB, free: 7.855 MB / 350.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 0.0001001/0.1022, allocations: 125.8 kB / 423 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.861e-05/0.1022, allocations: 41.66 kB / 423.1 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.1023, allocations: 19.89 kB / 423.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1023, allocations: 0 / 423.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1023, allocations: 7.938 kB / 423.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1023, allocations: 0 / 423.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.1025, allocations: 165.6 kB / 423.2 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1025, allocations: 0 / 423.2 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.594e-06/0.1025, allocations: 0 / 423.2 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.1025, allocations: 7.938 kB / 423.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.1025, allocations: 0 / 423.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1025, allocations: 3.938 kB / 423.3 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1025, allocations: 0 / 423.3 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.1026, allocations: 172.3 kB / 423.4 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.18e-05/0.1027, allocations: 85.09 kB / 423.5 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.1027, allocations: 4 kB / 423.5 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.411e-05/0.1028, allocations: 4 kB / 423.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.1028, allocations: 0 / 423.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.1028, allocations: 8 kB / 423.5 MB, free: 7.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.435e-05/0.1029, allocations: 103.2 kB / 423.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1029, allocations: 0 / 423.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002271/0.1031, allocations: 11.98 kB / 423.6 MB, free: 7 MB / 350.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.0001037/0.1032, allocations: 103.5 kB / 423.7 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001279/0.1034, allocations: 23.98 kB / 423.8 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1034, allocations: 0 / 423.8 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.698e-05/0.1034, allocations: 8.188 kB / 423.8 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.1037, allocations: 28.16 kB / 423.8 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.104, allocations: 184 kB / 424 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.1044, allocations: 0.6883 MB / 424.7 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.1044, allocations: 15.42 kB / 424.7 MB, free: 5.887 MB / 350.1 MB Notification: Performance of SimCode: time 6.02e-07/0.1044, allocations: 0 / 424.7 MB, free: 5.887 MB / 350.1 MB Notification: Performance of Templates: time 0.00238/0.1068, allocations: 0.6847 MB / 425.4 MB, free: 5.203 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.227236056001857]