Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000798/0.000798, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003207/0.003207, allocations: 160.7 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8935/0.8935, allocations: 177.1 MB / 205 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 325.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.917e-05/3.064e-05, allocations: 4.953 kB / 325.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002211/0.002241, allocations: 1.52 MB / 327.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003129/0.002554, allocations: 135.6 kB / 327.5 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.662e-05/0.002631, allocations: 3.938 kB / 327.5 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.1e-05/0.002672, allocations: 3.938 kB / 327.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.002793, allocations: 4 kB / 327.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.002994, allocations: 39.77 kB / 327.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.937e-05/0.003084, allocations: 31.92 kB / 327.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.242e-05/0.003176, allocations: 8 kB / 327.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.921e-05/0.003215, allocations: 15.97 kB / 327.6 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.814e-05/0.003244, allocations: 15.92 kB / 327.6 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.003267, allocations: 4 kB / 327.6 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.306e-06/0.003275, allocations: 3.938 kB / 327.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.607e-05/0.003322, allocations: 7.938 kB / 327.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.098e-05/0.003343, allocations: 8 kB / 327.6 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.003451, allocations: 43.81 kB / 327.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003453, allocations: 0 / 327.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.003455, allocations: 0 / 327.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.00346, allocations: 4 kB / 327.7 MB, free: 13.44 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003569/0.003817, allocations: 285.4 kB / 327.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.003854, allocations: 8.031 kB / 328 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.003884, allocations: 4.938 kB / 328 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.004052, allocations: 133.6 kB / 328.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.004073, allocations: 4.375 kB / 328.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.004082, allocations: 384 / 328.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.00427, allocations: 89.61 kB / 328.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.004277, allocations: 4.188 kB / 328.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.004285, allocations: 384 / 328.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.00429, allocations: 4.312 kB / 328.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.477e-05/0.004325, allocations: 23.86 kB / 328.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002357/0.00456, allocations: 197.5 kB / 328.4 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.04e-05/0.004611, allocations: 45.14 kB / 328.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.004632, allocations: 13.78 kB / 328.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.00465, allocations: 0 / 328.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.004669, allocations: 34.56 kB / 328.5 MB, free: 12.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.004669, allocations: 4 kB / 328.5 MB, free: 12.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001514/0.004821, allocations: 61.52 kB / 328.6 MB, free: 12.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.004866, allocations: 81.11 kB / 328.6 MB, free: 12.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.991e-05/0.004956, allocations: 136.8 kB / 328.8 MB, free: 12.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.417e-06/0.004965, allocations: 25.7 kB / 328.8 MB, free: 12.13 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.005003, allocations: 88.12 kB / 328.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.793e-06/0.00501, allocations: 0 / 328.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.005036, allocations: 21.67 kB / 328.9 MB, free: 12.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.992e-05/0.005115, allocations: 311.1 kB / 329.2 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/0.005131, allocations: 11.98 kB / 329.2 MB, free: 11.69 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.263e-05/0.005144, allocations: 7.938 kB / 329.2 MB, free: 11.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.62e-05/0.00517, allocations: 12.86 kB / 329.2 MB, free: 11.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.005172, allocations: 0 / 329.2 MB, free: 11.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.656e-05/0.005218, allocations: 41.69 kB / 329.3 MB, free: 11.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.005231, allocations: 4 kB / 329.3 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.005236, allocations: 3.938 kB / 329.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.005248, allocations: 0 / 329.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.365e-05/0.005262, allocations: 4.094 kB / 329.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.005269, allocations: 3.984 kB / 329.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.714e-05/0.005286, allocations: 4 kB / 329.3 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.005292, allocations: 3.984 kB / 329.3 MB, free: 11.6 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.786e-05/0.00535, allocations: 113.8 kB / 329.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.005382, allocations: 45.53 kB / 329.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.005408, allocations: 19.34 kB / 329.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.00541, allocations: 4 kB / 329.5 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.005416, allocations: 4 kB / 329.5 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.005419, allocations: 4.031 kB / 329.5 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.586e-05/0.005504, allocations: 109.3 kB / 329.6 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.005506, allocations: 0 / 329.6 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-06/0.005508, allocations: 0 / 329.6 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.005511, allocations: 4 kB / 329.6 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-06/0.005516, allocations: 0 / 329.6 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.005518, allocations: 3.938 kB / 329.6 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.005518, allocations: 0 / 329.6 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.326e-05/0.005602, allocations: 152.3 kB / 329.8 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.611e-05/0.005628, allocations: 23.86 kB / 329.8 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.005639, allocations: 8.031 kB / 329.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.233e-05/0.005671, allocations: 3.938 kB / 329.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.005696, allocations: 0 / 329.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.0057, allocations: 4 kB / 329.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.3e-05/0.005743, allocations: 107.2 kB / 329.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005743, allocations: 0 / 329.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001354/0.005879, allocations: 4 kB / 329.9 MB, free: 10.93 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 6.532e-05/0.005944, allocations: 95.25 kB / 330 MB, free: 10.83 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.254e-05/0.006016, allocations: 23.92 kB / 330 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.006018, allocations: 0 / 330 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.206e-05/0.00603, allocations: 4 kB / 330 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.006255, allocations: 16.02 kB / 330 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002392/0.006494, allocations: 167.6 kB / 330.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.414e-05/0.006548, allocations: 75.58 kB / 330.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.00657, allocations: 12.5 kB / 330.3 MB, free: 10.49 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.006571, allocations: 0 / 330.3 MB, free: 10.49 MB / 298.7 MB Notification: Performance of Templates: time 0.00142/0.007991, allocations: 0.6211 MB / 330.9 MB, free: 9.867 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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: 4.203543997369707]