Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.001112/0.001112, 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.001388/0.001388, 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.8929/0.8929, allocations: 177.1 MB / 204.3 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_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.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.203e-05/3.437e-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.SampleVectorizedAndClocked): time 0.002292/0.002326, allocations: 1.647 MB / 326.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008378/0.003164, allocations: 0.5297 MB / 326.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.821e-05/0.003262, allocations: 4 kB / 326.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.003367, allocations: 7.875 kB / 326.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.003484, allocations: 15.84 kB / 326.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.003799, allocations: 63.69 kB / 326.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.003928, allocations: 67.72 kB / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.004039, allocations: 15.97 kB / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.004182, allocations: 35.91 kB / 327 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.207e-05/0.004244, allocations: 23.97 kB / 327 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.004263, allocations: 4 kB / 327 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.051e-05/0.004304, allocations: 12 kB / 327 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.357e-05/0.004357, allocations: 15.92 kB / 327 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.295e-05/0.00439, allocations: 19.92 kB / 327 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.004535, allocations: 83.58 kB / 327.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.004539, allocations: 0 / 327.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.00454, allocations: 0 / 327.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.004544, allocations: 0 / 327.1 MB, free: 13.38 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.0004203/0.004965, allocations: 321.8 kB / 327.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.005006, allocations: 16.03 kB / 327.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.128e-05/0.005038, allocations: 38.73 kB / 327.5 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.005193, allocations: 24.88 kB / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.00549, allocations: 149.5 kB / 327.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.005504, allocations: 4.375 kB / 327.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.005515, allocations: 4.312 kB / 327.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.005773, allocations: 130.4 kB / 327.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.005781, allocations: 192 / 327.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.005792, allocations: 4.125 kB / 327.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.005814, allocations: 4 kB / 327.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.988e-05/0.005894, allocations: 39.91 kB / 327.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003382/0.006232, allocations: 341 kB / 328.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.526e-05/0.006327, allocations: 95.64 kB / 328.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.731e-05/0.006374, allocations: 38.62 kB / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.006389, allocations: 0 / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.006408, allocations: 34.56 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.006409, allocations: 0 / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002436/0.006652, allocations: 121.8 kB / 328.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.006705, allocations: 114.8 kB / 328.6 MB, free: 11.72 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.006805, allocations: 154.9 kB / 328.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.006818, allocations: 33.7 kB / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.006873, allocations: 92.12 kB / 328.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.006892, allocations: 7.953 kB / 328.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.006921, allocations: 17.7 kB / 328.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003375/0.007259, allocations: 314.8 kB / 329.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.007e-05/0.007299, allocations: 15.98 kB / 329.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.563e-05/0.007334, allocations: 25.7 kB / 329.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.307e-05/0.007407, allocations: 53.69 kB / 329.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.00741, allocations: 0 / 329.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.935e-05/0.007509, allocations: 77.55 kB / 329.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.007522, allocations: 4 kB / 329.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.007527, allocations: 0 / 329.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.007539, allocations: 4.062 kB / 329.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.138e-05/0.0076, allocations: 11.98 kB / 329.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.007607, allocations: 3.938 kB / 329.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.591e-05/0.007633, allocations: 7.938 kB / 329.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.007639, allocations: 0 / 329.4 MB, free: 10.86 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.114e-05/0.0077, allocations: 121.8 kB / 329.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.007755, allocations: 57.58 kB / 329.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/0.007781, allocations: 15.92 kB / 329.6 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.00779, allocations: 0 / 329.6 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.007795, allocations: 11.97 kB / 329.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.007798, allocations: 0 / 329.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.007955, allocations: 160.6 kB / 329.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.007958, allocations: 0 / 329.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.644e-05/0.007984, allocations: 7.984 kB / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.007987, allocations: 4 kB / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.007994, allocations: 0 / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.007995, allocations: 0 / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.007997, allocations: 7.922 kB / 329.7 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.008162, allocations: 275.5 kB / 330 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.008197, allocations: 15.94 kB / 330 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.00821, allocations: 4 kB / 330 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.944e-05/0.008269, allocations: 4 kB / 330 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.008306, allocations: 7.922 kB / 330 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.008311, allocations: 4 kB / 330 MB, free: 10.1 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.554e-05/0.008367, allocations: 115.2 kB / 330.2 MB, free: 9.984 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008367, allocations: 0 / 330.2 MB, free: 9.984 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001815/0.008549, allocations: 8 kB / 330.2 MB, free: 9.977 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.0003531/0.008902, allocations: 0.8101 MB / 331 MB, free: 9.137 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.009022, allocations: 43.91 kB / 331 MB, free: 9.094 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.009024, allocations: 0 / 331 MB, free: 9.094 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.48e-05/0.009059, allocations: 15.98 kB / 331 MB, free: 9.078 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.009396, allocations: 32 kB / 331.1 MB, free: 9.047 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.01049, allocations: 1.527 MB / 332.6 MB, free: 7.414 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.9e-05/0.01056, allocations: 85.11 kB / 332.7 MB, free: 7.312 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.775e-05/0.01061, allocations: 12.02 kB / 332.7 MB, free: 7.301 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.01066, allocations: 24.5 kB / 332.7 MB, free: 7.277 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01066, allocations: 0 / 332.7 MB, free: 7.277 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/0.02822, allocations: 2.611 MB / 335.3 MB, free: 4.816 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.841/6.869, allocations: 6.688 kB / 335.3 MB, free: 4.812 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.537170089781284]