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.001293/0.001293, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002505/0.002505, allocations: 214.2 kB / 23.74 MB, free: 4.672 MB / 14.72 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 1.442/1.442, allocations: 230.5 MB / 257.4 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001871/0.001871, allocations: 63.91 kB / 377.8 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2692, allocations: 53.41 MB / 431.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003094/0.2722, allocations: 1.646 MB / 432.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.2733, allocations: 0.5648 MB / 433.4 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.287e-05/0.2734, allocations: 0 / 433.4 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.2735, allocations: 15.86 kB / 433.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.96e-05/0.2736, allocations: 15.86 kB / 433.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.2739, allocations: 71.42 kB / 433.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.274, allocations: 63.72 kB / 433.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.2741, allocations: 15.98 kB / 433.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.2743, allocations: 31.86 kB / 433.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.437e-05/0.2743, allocations: 35.84 kB / 433.6 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.2743, allocations: 4 kB / 433.6 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.982e-05/0.2744, allocations: 7.938 kB / 433.7 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.529e-05/0.2745, allocations: 23.91 kB / 433.7 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.121e-05/0.2745, allocations: 31.75 kB / 433.7 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.2747, allocations: 83.95 kB / 433.8 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2747, allocations: 0 / 433.8 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2747, allocations: 0 / 433.8 MB, free: 4.051 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.2747, allocations: 0 / 433.8 MB, free: 4.051 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.000494/0.2752, allocations: 317.9 kB / 434.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2752, allocations: 12.03 kB / 434.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.733e-05/0.2752, allocations: 38.73 kB / 434.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002069/0.2755, allocations: 28.88 kB / 434.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.2757, allocations: 154.9 kB / 434.3 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.2757, allocations: 384 / 434.3 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.2757, allocations: 8.312 kB / 434.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.2761, allocations: 134 kB / 434.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.2761, allocations: 0 / 434.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.2761, allocations: 0 / 434.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.796e-05/0.2761, allocations: 8 kB / 434.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.2762, allocations: 35.91 kB / 434.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005126/0.2767, allocations: 356.9 kB / 434.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.2769, allocations: 83.77 kB / 434.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.137e-05/0.277, allocations: 46.61 kB / 435 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.277, allocations: 0 / 435 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.277, allocations: 38.5 kB / 435 MB, free: 2.637 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.277, allocations: 0 / 435 MB, free: 2.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003684/0.2774, allocations: 117.9 kB / 435.1 MB, free: 2.516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.901e-05/0.2775, allocations: 106.8 kB / 435.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.2776, allocations: 154.2 kB / 435.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.2776, allocations: 25.7 kB / 435.4 MB, free: 2.195 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.2777, allocations: 96.09 kB / 435.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.2777, allocations: 11.94 kB / 435.5 MB, free: 2.086 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.2778, allocations: 13.72 kB / 435.5 MB, free: 2.066 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.2779, allocations: 330.8 kB / 435.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.808e-05/0.278, allocations: 23.92 kB / 435.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.27e-05/0.2781, allocations: 39.42 kB / 435.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.2782, allocations: 67.34 kB / 436 MB, free: 1.582 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2782, allocations: 0 / 436 MB, free: 1.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001874/0.2784, allocations: 85.55 kB / 436.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.2784, allocations: 4 kB / 436.1 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2784, allocations: 4 kB / 436.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.2785, allocations: 4.125 kB / 436.1 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.565e-05/0.2786, allocations: 15.92 kB / 436.1 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.2786, allocations: 4 kB / 436.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.524e-05/0.2786, allocations: 7.984 kB / 436.1 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.2786, allocations: 0 / 436.1 MB, free: 1.453 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 0.0001058/0.2787, allocations: 125.7 kB / 436.2 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.2788, allocations: 53.64 kB / 436.3 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.2789, allocations: 19.91 kB / 436.3 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.2789, allocations: 4.031 kB / 436.3 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.2789, allocations: 7.938 kB / 436.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2789, allocations: 0 / 436.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.2791, allocations: 156.6 kB / 436.5 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2791, allocations: 0 / 436.5 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.139e-05/0.2792, allocations: 11.98 kB / 436.5 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2792, allocations: 4 kB / 436.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.2792, allocations: 0 / 436.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2792, allocations: 0 / 436.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.2792, allocations: 7.938 kB / 436.5 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.2795, allocations: 267.5 kB / 436.8 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.2795, allocations: 19.88 kB / 436.8 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.2796, allocations: 0 / 436.8 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.2797, allocations: 11.98 kB / 436.8 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.2797, allocations: 12 kB / 436.8 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.2797, allocations: 3.984 kB / 436.8 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.2798, allocations: 119.2 kB / 436.9 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2798, allocations: 0 / 436.9 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.2801, allocations: 8 kB / 436.9 MB, free: 0.5547 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.0006296/0.2807, allocations: 0.8062 MB / 437.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.2809, allocations: 51.89 kB / 437.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2809, allocations: 0 / 437.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.753e-05/0.281, allocations: 24.23 kB / 437.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.2814, allocations: 23.95 kB / 437.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.2832, allocations: 1.585 MB / 439.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.2836, allocations: 0.6963 MB / 440.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.499e-05/0.2836, allocations: 20.2 kB / 440.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.095e-05/0.2837, allocations: 23.38 kB / 440.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2837, allocations: 0 / 440.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02951/0.3132, allocations: 2.043 MB / 442.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.95, allocations: 20.22 kB / 442.2 MB, free: 11.23 MB / 350.1 MB " [Timeout remaining time 649] (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/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_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: 13.281389557989314]