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.001253/0.001253, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.001458/0.001458, allocations: 209.8 kB / 23.73 MB, free: 4.523 MB / 14.72 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 1.39/1.39, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001465/0.001465, allocations: 47.91 kB / 377.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2526, allocations: 53.36 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002978/0.2556, allocations: 1.624 MB / 432.7 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.2566, allocations: 0.522 MB / 433.2 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.17e-05/0.2567, allocations: 4 kB / 433.2 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.182e-05/0.2568, allocations: 11.88 kB / 433.2 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.2569, allocations: 15.86 kB / 433.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.2572, allocations: 63.8 kB / 433.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.2573, allocations: 59.78 kB / 433.4 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.2574, allocations: 15.97 kB / 433.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.2576, allocations: 43.84 kB / 433.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.004e-05/0.2576, allocations: 27.86 kB / 433.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.2576, allocations: 7.938 kB / 433.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.768e-05/0.2577, allocations: 4 kB / 433.5 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.2577, allocations: 23.92 kB / 433.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.616e-05/0.2578, allocations: 27.8 kB / 433.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.2579, allocations: 81.22 kB / 433.6 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.258, allocations: 0 / 433.6 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.258, allocations: 4 kB / 433.6 MB, free: 4.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.258, allocations: 0 / 433.6 MB, free: 4.102 MB / 334.1 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.0005348/0.2585, allocations: 321.9 kB / 433.9 MB, free: 3.758 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.2585, allocations: 12.03 kB / 433.9 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.2586, allocations: 30.75 kB / 434 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002377/0.2588, allocations: 32.86 kB / 434 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.2591, allocations: 150.2 kB / 434.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.2591, allocations: 4.375 kB / 434.2 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.2591, allocations: 8.359 kB / 434.2 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.2595, allocations: 133.9 kB / 434.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2595, allocations: 0 / 434.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.2595, allocations: 4 kB / 434.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.2595, allocations: 4 kB / 434.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.2596, allocations: 35.97 kB / 434.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.2601, allocations: 344.9 kB / 434.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.2603, allocations: 83.77 kB / 434.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.846e-05/0.2604, allocations: 42.62 kB / 434.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.2604, allocations: 0 / 434.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.2604, allocations: 34.56 kB / 434.8 MB, free: 2.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2604, allocations: 3.938 kB / 434.8 MB, free: 2.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000394/0.2608, allocations: 117.4 kB / 434.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.547e-05/0.2609, allocations: 106.8 kB / 435.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.2611, allocations: 154.6 kB / 435.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.2611, allocations: 29.7 kB / 435.2 MB, free: 2.258 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.81e-05/0.2612, allocations: 96.12 kB / 435.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.2612, allocations: 7.953 kB / 435.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.2612, allocations: 21.7 kB / 435.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.2614, allocations: 318.8 kB / 435.7 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.192e-05/0.2615, allocations: 15.98 kB / 435.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.273e-05/0.2615, allocations: 47.34 kB / 435.7 MB, free: 1.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.2617, allocations: 63.41 kB / 435.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2617, allocations: 0 / 435.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002028/0.2619, allocations: 93.48 kB / 435.9 MB, free: 1.559 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2619, allocations: 4 kB / 435.9 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2619, allocations: 4 kB / 435.9 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.2619, allocations: 128 / 435.9 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.262, allocations: 15.98 kB / 435.9 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.262, allocations: 0 / 435.9 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.477e-05/0.2621, allocations: 12 kB / 435.9 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.2621, allocations: 4 kB / 435.9 MB, free: 1.52 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 9.816e-05/0.2622, allocations: 125.8 kB / 436 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.2623, allocations: 57.53 kB / 436.1 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.521e-05/0.2623, allocations: 15.92 kB / 436.1 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.2624, allocations: 0 / 436.1 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.2624, allocations: 4 kB / 436.1 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2624, allocations: 4.031 kB / 436.1 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.2626, allocations: 156.7 kB / 436.3 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.2626, allocations: 7.922 kB / 436.3 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.949e-05/0.2627, allocations: 4 kB / 436.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.2627, allocations: 4 kB / 436.3 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.2627, allocations: 0 / 436.3 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2627, allocations: 3.984 kB / 436.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2627, allocations: 0 / 436.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.263, allocations: 283.6 kB / 436.6 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.344e-05/0.263, allocations: 19.88 kB / 436.6 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.2631, allocations: 7.938 kB / 436.6 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.2632, allocations: 4 kB / 436.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.2632, allocations: 3.984 kB / 436.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.2632, allocations: 0 / 436.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.105e-05/0.2633, allocations: 124.1 kB / 436.7 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2633, allocations: 0 / 436.7 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.2636, allocations: 8 kB / 436.7 MB, free: 0.6211 MB / 334.1 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.0005999/0.2642, allocations: 0.8101 MB / 437.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.2644, allocations: 47.91 kB / 437.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2644, allocations: 0 / 437.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.33e-05/0.2644, allocations: 19.98 kB / 437.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.2649, allocations: 28.61 kB / 437.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.2667, allocations: 1.593 MB / 439.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.711e-05/0.2668, allocations: 81 kB / 439.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.719e-05/0.2668, allocations: 15.92 kB / 439.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.704e-05/0.2669, allocations: 27.42 kB / 439.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2669, allocations: 0 / 439.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02902/0.2959, allocations: 2.503 MB / 441.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.79, allocations: 17.3 kB / 441.9 MB, free: 11.47 MB / 350.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/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: 13.10416810499737]