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.001611/0.001611, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001961/0.001961, allocations: 209.6 kB / 23.73 MB, free: 4.387 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.402/1.402, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.001577/0.001577, allocations: 47.92 kB / 377.7 MB, free: 3.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2399, allocations: 53.36 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002883/0.2428, allocations: 1.623 MB / 432.7 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009524/0.2437, allocations: 0.5259 MB / 433.2 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.902e-05/0.2438, allocations: 3.938 kB / 433.2 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.59e-05/0.2439, allocations: 11.86 kB / 433.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.801e-05/0.244, allocations: 11.88 kB / 433.3 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.2443, allocations: 67.78 kB / 433.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.2444, allocations: 63.78 kB / 433.4 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.2445, allocations: 12 kB / 433.4 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.2446, allocations: 39.84 kB / 433.4 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.193e-05/0.2447, allocations: 27.84 kB / 433.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.2447, allocations: 4 kB / 433.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.275e-05/0.2448, allocations: 8 kB / 433.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.927e-05/0.2448, allocations: 15.92 kB / 433.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.2449, allocations: 23.81 kB / 433.5 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.245, allocations: 91.88 kB / 433.6 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.245, allocations: 0 / 433.6 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.245, allocations: 4 kB / 433.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.245, allocations: 0 / 433.6 MB, free: 4.09 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.0004953/0.2455, allocations: 317.9 kB / 433.9 MB, free: 3.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.2456, allocations: 12.03 kB / 433.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.866e-05/0.2456, allocations: 34.73 kB / 434 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.2458, allocations: 28.88 kB / 434 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.246, allocations: 150.3 kB / 434.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.246, allocations: 8.375 kB / 434.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.2461, allocations: 384 / 434.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.2463, allocations: 134 kB / 434.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2464, allocations: 3.938 kB / 434.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.2464, allocations: 0 / 434.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.2464, allocations: 4 kB / 434.3 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.2465, allocations: 35.97 kB / 434.3 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000454/0.247, allocations: 356.8 kB / 434.7 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.2471, allocations: 79.77 kB / 434.8 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.739e-05/0.2472, allocations: 42.61 kB / 434.8 MB, free: 2.738 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.2472, allocations: 3.938 kB / 434.8 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.2472, allocations: 38.56 kB / 434.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.2472, allocations: 0 / 434.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003504/0.2476, allocations: 117.5 kB / 435 MB, free: 2.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.2477, allocations: 110.8 kB / 435.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.2478, allocations: 150.2 kB / 435.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.2478, allocations: 29.7 kB / 435.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.2479, allocations: 92.09 kB / 435.3 MB, free: 2.148 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.2479, allocations: 15.92 kB / 435.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.2479, allocations: 17.72 kB / 435.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2481, allocations: 327.1 kB / 435.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.269e-05/0.2481, allocations: 15.98 kB / 435.7 MB, free: 1.766 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.54e-05/0.2482, allocations: 39.42 kB / 435.7 MB, free: 1.715 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.2484, allocations: 67.34 kB / 435.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2484, allocations: 4 kB / 435.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001919/0.2486, allocations: 93.48 kB / 435.9 MB, free: 1.535 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.2486, allocations: 8 kB / 435.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2486, allocations: 0 / 435.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.2486, allocations: 0 / 435.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.004e-05/0.2487, allocations: 15.98 kB / 435.9 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.2487, allocations: 4 kB / 435.9 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.402e-05/0.2487, allocations: 7.984 kB / 435.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.2488, allocations: 128 / 435.9 MB, free: 1.5 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.063e-05/0.2488, allocations: 125.8 kB / 436.1 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.893e-05/0.2489, allocations: 53.58 kB / 436.1 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/0.249, allocations: 15.92 kB / 436.1 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.249, allocations: 7.984 kB / 436.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.249, allocations: 0 / 436.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.249, allocations: 0 / 436.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.2492, allocations: 156.6 kB / 436.3 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2492, allocations: 0 / 436.3 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.166e-05/0.2493, allocations: 11.98 kB / 436.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2493, allocations: 4.031 kB / 436.3 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.2493, allocations: 0 / 436.3 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2493, allocations: 0 / 436.3 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2493, allocations: 4 kB / 436.3 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.2496, allocations: 275.4 kB / 436.6 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.2496, allocations: 23.88 kB / 436.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.2497, allocations: 0 / 436.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.2498, allocations: 11.92 kB / 436.6 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.2498, allocations: 0 / 436.6 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.2498, allocations: 8 kB / 436.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.604e-05/0.2499, allocations: 120.1 kB / 436.7 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2499, allocations: 0 / 436.7 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.2502, allocations: 8 kB / 436.7 MB, free: 0.6094 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.0006055/0.2508, allocations: 0.8101 MB / 437.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.251, allocations: 56.02 kB / 437.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.251, allocations: 0 / 437.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.033e-05/0.251, allocations: 15.98 kB / 437.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.2514, allocations: 26.59 kB / 437.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.2531, allocations: 1.589 MB / 439.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.263e-05/0.2532, allocations: 84.98 kB / 439.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.218e-05/0.2533, allocations: 12.2 kB / 439.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.2533, allocations: 23.44 kB / 439.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2533, allocations: 0 / 439.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/0.2819, allocations: 2.479 MB / 441.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.9, allocations: 14.67 kB / 441.8 MB, free: 11.49 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.255369069986045]