Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.0008309/0.0008309, 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.00113/0.00113, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8667/0.8667, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.949e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002125/0.002145, allocations: 1.582 MB / 326.2 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.003196, allocations: 0.5063 MB / 326.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.047e-05/0.003277, allocations: 0 / 326.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.427e-05/0.003321, allocations: 7.938 kB / 326.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.003461, allocations: 3.938 kB / 326.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.003783, allocations: 63.69 kB / 326.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.003886, allocations: 43.86 kB / 326.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.595e-05/0.003982, allocations: 11.98 kB / 326.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.004098, allocations: 27.91 kB / 326.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.272e-05/0.004141, allocations: 11.98 kB / 326.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.004156, allocations: 0 / 326.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.245e-05/0.004198, allocations: 8 kB / 326.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.00425, allocations: 15.92 kB / 326.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.004271, allocations: 11.92 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.0044, allocations: 55.75 kB / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.004402, allocations: 0 / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.004403, allocations: 0 / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.004408, allocations: 4 kB / 326.9 MB, free: 13.56 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.0003615/0.004769, allocations: 297.3 kB / 327.2 MB, free: 13.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.004818, allocations: 12.03 kB / 327.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.355e-05/0.004852, allocations: 34.73 kB / 327.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.004964, allocations: 12.89 kB / 327.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.005147, allocations: 133.7 kB / 327.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.005154, allocations: 384 / 327.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.005166, allocations: 8.375 kB / 327.4 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.005366, allocations: 93.59 kB / 327.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.005373, allocations: 8.125 kB / 327.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.005383, allocations: 4.125 kB / 327.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.005388, allocations: 0 / 327.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.737e-05/0.005435, allocations: 19.92 kB / 327.5 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.0057, allocations: 232.8 kB / 327.8 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.521e-05/0.005765, allocations: 45.2 kB / 327.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.34e-05/0.005799, allocations: 37.64 kB / 327.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.005818, allocations: 3.984 kB / 327.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.005838, allocations: 34.56 kB / 327.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.005839, allocations: 0 / 327.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001739/0.006013, allocations: 65.56 kB / 327.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.006061, allocations: 85.11 kB / 328 MB, free: 12.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.387e-05/0.006155, allocations: 138.1 kB / 328.2 MB, free: 12.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.006166, allocations: 25.95 kB / 328.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.291e-05/0.006209, allocations: 96.12 kB / 328.3 MB, free: 12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.165e-05/0.00622, allocations: 0 / 328.3 MB, free: 12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.00625, allocations: 13.67 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.958e-05/0.006329, allocations: 318.8 kB / 328.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.564e-05/0.006355, allocations: 7.984 kB / 328.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.723e-05/0.006372, allocations: 4 kB / 328.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.208e-05/0.006414, allocations: 24.78 kB / 328.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.006416, allocations: 4 kB / 328.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.804e-05/0.006484, allocations: 53.69 kB / 328.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.006496, allocations: 4 kB / 328.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.006501, allocations: 0 / 328.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.006512, allocations: 0 / 328.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.122e-05/0.006564, allocations: 7.984 kB / 328.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.00657, allocations: 3.984 kB / 328.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.752e-05/0.006588, allocations: 4 kB / 328.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.006594, allocations: 0 / 328.7 MB, free: 11.54 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: 0 () * 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 6.199e-05/0.006656, allocations: 113.8 kB / 328.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.786e-05/0.006704, allocations: 53.56 kB / 328.9 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.006728, allocations: 11.77 kB / 328.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.006731, allocations: 0 / 328.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.006737, allocations: 3.984 kB / 328.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.00674, allocations: 0 / 328.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.006855, allocations: 140.7 kB / 329 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.006858, allocations: 7.938 kB / 329 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.539e-05/0.006883, allocations: 7.984 kB / 329.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.006885, allocations: 0 / 329.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.006891, allocations: 0 / 329.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.006893, allocations: 8.031 kB / 329.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.006894, allocations: 0 / 329.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.007001, allocations: 160.3 kB / 329.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.007033, allocations: 15.88 kB / 329.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.007044, allocations: 0 / 329.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.388e-05/0.007078, allocations: 4 kB / 329.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.007107, allocations: 7.984 kB / 329.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.00711, allocations: 0 / 329.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.683e-05/0.007167, allocations: 109.8 kB / 329.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007167, allocations: 0 / 329.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001504/0.007318, allocations: 8.031 kB / 329.4 MB, free: 10.82 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: 0 () * 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.0003006/0.007618, allocations: 0.6859 MB / 330 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.00772, allocations: 23.92 kB / 330.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.007723, allocations: 3.938 kB / 330.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.934e-05/0.007742, allocations: 7.984 kB / 330.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.008009, allocations: 16.19 kB / 330.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008751/0.008884, allocations: 1.294 MB / 331.4 MB, free: 8.676 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.277e-05/0.008937, allocations: 79.27 kB / 331.5 MB, free: 8.578 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.563e-05/0.008963, allocations: 0 / 331.5 MB, free: 8.578 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.008999, allocations: 12.5 kB / 331.5 MB, free: 8.566 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009, allocations: 4.125 kB / 331.5 MB, free: 8.562 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/0.02766, allocations: 2.154 MB / 333.6 MB, free: 6.527 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.837/6.865, allocations: 0.9375 kB / 333.6 MB, free: 6.527 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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: 8.49450960662216]