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.0008294/0.0008294, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008433/0.0008433, allocations: 174 kB / 23.95 MB, free: 0.6133 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.8886/0.8886, allocations: 177.1 MB / 204.3 MB, free: 5.719 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.664e-05, allocations: 6.219 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.001795/0.001812, allocations: 1.505 MB / 326.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002922/0.002104, allocations: 143.4 kB / 326.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.964e-05/0.002174, allocations: 3.938 kB / 326.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.909e-05/0.002213, allocations: 11.92 kB / 326.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.00233, allocations: 3.938 kB / 326.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.002518, allocations: 35.84 kB / 326.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.923e-05/0.002597, allocations: 27.92 kB / 326.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.252e-05/0.00268, allocations: 15.92 kB / 326.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.888e-05/0.002719, allocations: 23.97 kB / 326.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.218e-05/0.002741, allocations: 0 / 326.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.002762, allocations: 4 kB / 326.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-06/0.00277, allocations: 0 / 326.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.243e-05/0.002812, allocations: 15.92 kB / 326.4 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.991e-05/0.002832, allocations: 11.94 kB / 326.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.69e-05/0.002919, allocations: 39.81 kB / 326.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.002923, allocations: 4 kB / 326.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.002924, allocations: 0 / 326.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.002928, allocations: 0 / 326.4 MB, free: 14.1 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.0003231/0.003251, allocations: 281 kB / 326.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.003289, allocations: 16.03 kB / 326.7 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.884e-05/0.003318, allocations: 38.73 kB / 326.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.09e-05/0.003339, allocations: 8.891 kB / 326.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.00349, allocations: 117.7 kB / 326.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.003508, allocations: 4.375 kB / 326.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-06/0.003514, allocations: 4.375 kB / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.00369, allocations: 85.61 kB / 326.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.003697, allocations: 192 / 326.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.003706, allocations: 12.36 kB / 327 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.003711, allocations: 4.125 kB / 327 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.558e-05/0.003747, allocations: 11.94 kB / 327 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002357/0.003983, allocations: 224.8 kB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.935e-05/0.004042, allocations: 49.14 kB / 327.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.004063, allocations: 13.78 kB / 327.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.00408, allocations: 0 / 327.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.004101, allocations: 46.44 kB / 327.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.004102, allocations: 0 / 327.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001407/0.004243, allocations: 61.58 kB / 327.4 MB, free: 12.97 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.004281, allocations: 77.11 kB / 327.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.264e-05/0.004363, allocations: 140.6 kB / 327.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.156e-06/0.004371, allocations: 25.7 kB / 327.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.004409, allocations: 88.12 kB / 327.7 MB, free: 12.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.265e-06/0.004417, allocations: 3.953 kB / 327.7 MB, free: 12.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.004442, allocations: 17.72 kB / 327.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002949/0.004737, allocations: 310.8 kB / 328 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.004754, allocations: 8.234 kB / 328 MB, free: 12.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.011e-05/0.004764, allocations: 8 kB / 328 MB, free: 12.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.611e-05/0.00479, allocations: 16.8 kB / 328 MB, free: 12.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.004791, allocations: 0 / 328 MB, free: 12.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.585e-05/0.004837, allocations: 41.62 kB / 328.1 MB, free: 12.19 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.00485, allocations: 8 kB / 328.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.004854, allocations: 0 / 328.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.004864, allocations: 0 / 328.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.131e-05/0.004875, allocations: 0 / 328.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.00488, allocations: 4.094 kB / 328.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.085e-05/0.004891, allocations: 0 / 328.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.004898, allocations: 4 kB / 328.1 MB, free: 12.18 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.876e-05/0.004956, allocations: 117.8 kB / 328.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.004989, allocations: 45.53 kB / 328.3 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.319e-05/0.005012, allocations: 15.41 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.005014, allocations: 0 / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.005018, allocations: 4 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.005021, allocations: 4 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.795e-05/0.005119, allocations: 132.8 kB / 328.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.00512, allocations: 4 kB / 328.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.545e-06/0.005123, allocations: 0 / 328.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.005125, allocations: 3.938 kB / 328.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.005131, allocations: 4 kB / 328.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.005132, allocations: 0 / 328.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005132, allocations: 0 / 328.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.767e-05/0.00521, allocations: 152.3 kB / 328.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.005235, allocations: 15.88 kB / 328.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-06/0.005244, allocations: 0 / 328.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.154e-05/0.005275, allocations: 12.03 kB / 328.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.005299, allocations: 0 / 328.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.005303, allocations: 7.922 kB / 328.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.32e-05/0.005346, allocations: 99.27 kB / 328.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005346, allocations: 3.938 kB / 328.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001405/0.005486, allocations: 4 kB / 328.7 MB, free: 11.48 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 0.0002271/0.005714, allocations: 0.6781 MB / 329.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.64e-05/0.00578, allocations: 23.95 kB / 329.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.005781, allocations: 0 / 329.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.285e-05/0.005794, allocations: 4 kB / 329.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.006026, allocations: 18.69 kB / 329.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000694/0.00672, allocations: 1.228 MB / 330.7 MB, free: 9.418 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.126e-05/0.006771, allocations: 75.58 kB / 330.7 MB, free: 9.324 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.541e-05/0.006786, allocations: 4.25 kB / 330.7 MB, free: 9.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.006814, allocations: 12.5 kB / 330.8 MB, free: 9.309 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.006815, allocations: 0 / 330.8 MB, free: 9.309 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0148/0.02161, allocations: 2.027 MB / 332.8 MB, free: 7.402 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.57/6.592, allocations: 6.125 kB / 332.8 MB, free: 7.402 MB / 298.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] 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] "" Variables in the reference:time,sample1.y Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,sample1.u,sample1.y,step.startTime,step.startValue,step.y,time [Calling sys.exit(0), Time elapsed: 8.236804582178593]