Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008121/0.0008121, allocations: 80.34 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008443/0.0008443, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9042/0.9042, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.869e-05, allocations: 6.219 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.0031/0.003128, allocations: 1.637 MB / 326.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.004235, allocations: 0.522 MB / 326.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.004337, allocations: 11.94 kB / 326.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.004439, allocations: 3.938 kB / 326.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.004557, allocations: 23.73 kB / 326.7 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.004889, allocations: 55.81 kB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.005041, allocations: 67.7 kB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.005152, allocations: 11.98 kB / 326.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.005314, allocations: 47.83 kB / 326.9 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.55e-05/0.005379, allocations: 23.91 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.005401, allocations: 4 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.417e-05/0.005445, allocations: 8 kB / 326.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.607e-05/0.005502, allocations: 19.94 kB / 327 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.005536, allocations: 19.91 kB / 327 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.005704, allocations: 71.72 kB / 327 MB, free: 13.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.005706, allocations: 0 / 327 MB, free: 13.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005707, allocations: 0 / 327 MB, free: 13.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.005711, allocations: 0 / 327 MB, free: 13.34 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004944/0.006206, allocations: 325.8 kB / 327.4 MB, free: 13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.006249, allocations: 11.98 kB / 327.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.732e-05/0.006286, allocations: 34.73 kB / 327.4 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001957/0.006482, allocations: 36.75 kB / 327.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.006745, allocations: 153.5 kB / 327.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.00676, allocations: 8.375 kB / 327.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.00677, allocations: 384 / 327.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.007063, allocations: 126.4 kB / 327.7 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.007074, allocations: 8.188 kB / 327.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.007086, allocations: 4.125 kB / 327.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.007106, allocations: 0 / 327.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.007206, allocations: 39.91 kB / 327.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.007636, allocations: 341 kB / 328.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.007764, allocations: 91.7 kB / 328.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.792e-05/0.007832, allocations: 38.62 kB / 328.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.007849, allocations: 0 / 328.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.007876, allocations: 38.5 kB / 328.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.007877, allocations: 0 / 328.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003268/0.008204, allocations: 121.5 kB / 328.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/0.008271, allocations: 102.8 kB / 328.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.008401, allocations: 158.6 kB / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.008412, allocations: 29.7 kB / 328.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.008463, allocations: 92.14 kB / 328.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.008483, allocations: 11.94 kB / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.008523, allocations: 13.72 kB / 328.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.947e-05/0.008623, allocations: 318.8 kB / 329.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.016e-05/0.008673, allocations: 19.92 kB / 329.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.058e-05/0.008724, allocations: 29.7 kB / 329.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.008858, allocations: 45.77 kB / 329.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.00886, allocations: 0 / 329.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001105/0.008971, allocations: 81.48 kB / 329.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.008983, allocations: 4 kB / 329.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.008988, allocations: 0 / 329.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.008998, allocations: 0 / 329.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.944e-05/0.009058, allocations: 15.92 kB / 329.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.009062, allocations: 4.062 kB / 329.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.505e-05/0.009087, allocations: 7.938 kB / 329.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.009093, allocations: 0 / 329.3 MB, free: 10.82 MB / 298.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.228e-05/0.009155, allocations: 121.8 kB / 329.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.863e-05/0.009214, allocations: 61.52 kB / 329.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.009237, allocations: 15.92 kB / 329.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.009248, allocations: 7.938 kB / 329.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.009251, allocations: 0 / 329.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.009256, allocations: 3.984 kB / 329.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.009405, allocations: 156.7 kB / 329.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.009407, allocations: 4 kB / 329.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.748e-05/0.009435, allocations: 11.98 kB / 329.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.009437, allocations: 0 / 329.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.009444, allocations: 3.984 kB / 329.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.009445, allocations: 0 / 329.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.009447, allocations: 4 kB / 329.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.009602, allocations: 271.5 kB / 330 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.552e-05/0.009638, allocations: 19.94 kB / 330 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.009656, allocations: 7.984 kB / 330 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.55e-05/0.009712, allocations: 4 kB / 330 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.009745, allocations: 3.984 kB / 330 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.00975, allocations: 4 kB / 330 MB, free: 10.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.592e-05/0.009806, allocations: 115.2 kB / 330.1 MB, free: 9.938 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009806, allocations: 0 / 330.1 MB, free: 9.938 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001639/0.00997, allocations: 8 kB / 330.1 MB, free: 9.93 MB / 298.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.0003458/0.01032, allocations: 0.8101 MB / 330.9 MB, free: 9.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001193/0.01043, allocations: 35.97 kB / 331 MB, free: 9.055 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01044, allocations: 4 kB / 331 MB, free: 9.051 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.422e-05/0.01047, allocations: 19.92 kB / 331 MB, free: 9.031 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.0108, allocations: 24.02 kB / 331 MB, free: 9.008 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.01196, allocations: 1.53 MB / 332.5 MB, free: 7.375 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.32e-05/0.01203, allocations: 88.06 kB / 332.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.019e-05/0.01208, allocations: 11.98 kB / 332.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.801e-05/0.01213, allocations: 28.47 kB / 332.7 MB, free: 7.234 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01213, allocations: 0 / 332.7 MB, free: 7.234 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.02968, allocations: 2.61 MB / 335.3 MB, free: 4.746 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.567/6.597, allocations: 11.94 kB / 335.3 MB, free: 4.738 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.287732550874352]