Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.0007361/0.0007361, allocations: 76.06 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.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.0007303/0.0007303, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.8868/0.8868, allocations: 173.4 MB / 200.4 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.041e-06/1.041e-06, allocations: 0 / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144e-05/1.248e-05, allocations: 5.516 kB / 318.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002066/0.002078, allocations: 1.605 MB / 320 MB, free: 4.723 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006372/0.002716, allocations: 458.8 kB / 320.5 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.091e-05/0.002797, allocations: 3.938 kB / 320.5 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.125e-05/0.002888, allocations: 11.86 kB / 320.5 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.002989, allocations: 27.8 kB / 320.5 MB, free: 4.227 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.003197, allocations: 47.77 kB / 320.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.003297, allocations: 59.72 kB / 320.6 MB, free: 4.121 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.741e-05/0.003395, allocations: 19.95 kB / 320.7 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.767e-05/0.003462, allocations: 31.97 kB / 320.7 MB, free: 4.07 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.436e-05/0.003517, allocations: 19.92 kB / 320.7 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.003542, allocations: 4 kB / 320.7 MB, free: 4.047 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-06/0.003551, allocations: 4 kB / 320.7 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.003601, allocations: 19.91 kB / 320.7 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.003631, allocations: 23.92 kB / 320.8 MB, free: 4 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.003735, allocations: 71.72 kB / 320.8 MB, free: 3.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.003737, allocations: 0 / 320.8 MB, free: 3.93 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.003738, allocations: 3.938 kB / 320.8 MB, free: 3.926 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.003741, allocations: 0 / 320.8 MB, free: 3.926 MB / 282.7 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.0003593/0.004101, allocations: 309.9 kB / 321.1 MB, free: 3.594 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.004139, allocations: 16.86 kB / 321.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.004171, allocations: 38.75 kB / 321.2 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.197e-05/0.004193, allocations: 12.84 kB / 321.2 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.004381, allocations: 147.4 kB / 321.4 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.00439, allocations: 4.375 kB / 321.4 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.004399, allocations: 384 / 321.4 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.004647, allocations: 130.4 kB / 321.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.004654, allocations: 192 / 321.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.004664, allocations: 4.125 kB / 321.5 MB, free: 3.195 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.004685, allocations: 0 / 321.5 MB, free: 3.195 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.33e-05/0.004758, allocations: 43.91 kB / 321.5 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.005115, allocations: 333 kB / 321.9 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.735e-05/0.005212, allocations: 87.72 kB / 321.9 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.568e-05/0.005268, allocations: 42.61 kB / 322 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.005283, allocations: 3.938 kB / 322 MB, free: 2.609 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.005303, allocations: 34.56 kB / 322 MB, free: 2.566 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.005304, allocations: 0 / 322 MB, free: 2.566 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002286/0.005533, allocations: 125.5 kB / 322.1 MB, free: 2.438 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.005584, allocations: 102.8 kB / 322.2 MB, free: 2.312 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.446e-05/0.005678, allocations: 161 kB / 322.4 MB, free: 2.148 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.005691, allocations: 25.7 kB / 322.4 MB, free: 2.117 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.005738, allocations: 104 kB / 322.5 MB, free: 2.012 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/0.005753, allocations: 3.953 kB / 322.5 MB, free: 2.008 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.005782, allocations: 18.09 kB / 322.6 MB, free: 1.984 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.578e-05/0.005878, allocations: 322.8 kB / 322.9 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.553e-05/0.005913, allocations: 15.98 kB / 322.9 MB, free: 1.645 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.892e-05/0.005952, allocations: 29.7 kB / 322.9 MB, free: 1.609 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.161e-05/0.006024, allocations: 41.69 kB / 323 MB, free: 1.562 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.006026, allocations: 0 / 323 MB, free: 1.562 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.423e-05/0.00612, allocations: 77.56 kB / 323 MB, free: 1.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.006134, allocations: 4 kB / 323 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.006138, allocations: 0 / 323 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.00615, allocations: 4 kB / 323 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.181e-05/0.006212, allocations: 7.984 kB / 323 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.006216, allocations: 0 / 323 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.373e-05/0.00624, allocations: 8 kB / 323 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.006245, allocations: 0 / 323 MB, free: 1.457 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 6.366e-05/0.006309, allocations: 125.9 kB / 323.2 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.006361, allocations: 57.52 kB / 323.2 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.158e-05/0.006383, allocations: 11.97 kB / 323.2 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.006391, allocations: 4 kB / 323.2 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.006396, allocations: 3.984 kB / 323.2 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.0064, allocations: 0 / 323.2 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.006547, allocations: 148.7 kB / 323.4 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.006549, allocations: 0 / 323.4 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.233e-05/0.006571, allocations: 4 kB / 323.4 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.006574, allocations: 8 kB / 323.4 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.006583, allocations: 12.02 kB / 323.4 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.006584, allocations: 0 / 323.4 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.006586, allocations: 4 kB / 323.4 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.00674, allocations: 275.4 kB / 323.7 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.059e-05/0.006771, allocations: 15.94 kB / 323.7 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.006782, allocations: 4 kB / 323.7 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.674e-05/0.006839, allocations: 4 kB / 323.7 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.00687, allocations: 3.984 kB / 323.7 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.006874, allocations: 7.938 kB / 323.7 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.262e-05/0.006927, allocations: 119.2 kB / 323.8 MB, free: 0.582 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006927, allocations: 0 / 323.8 MB, free: 0.582 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001651/0.007092, allocations: 8 kB / 323.8 MB, free: 0.5742 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.000371/0.007463, allocations: 0.8023 MB / 324.7 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.00758, allocations: 43.97 kB / 324.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.007582, allocations: 8.062 kB / 324.7 MB, free: 15.69 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.314e-05/0.007615, allocations: 15.98 kB / 324.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.007905, allocations: 27.89 kB / 324.7 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009553/0.00886, allocations: 1.51 MB / 326.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.562e-05/0.008916, allocations: 87.27 kB / 326.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.219e-05/0.008948, allocations: 7.984 kB / 326.3 MB, free: 13.92 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.008991, allocations: 24.5 kB / 326.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.008991, allocations: 0 / 326.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01348/0.02247, allocations: 2.55 MB / 328.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.805/6.827, allocations: 6.312 kB / 328.9 MB, free: 11.5 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.463862926699221]