Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 188.4 kB / 24.49 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 43.94 kB / 371.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2319, allocations: 52.2 MB / 423.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002819/0.2347, allocations: 1.603 MB / 425 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007995/0.2355, allocations: 446.9 kB / 425.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.178e-05/0.2356, allocations: 3.938 kB / 425.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.68e-05/0.2357, allocations: 11.92 kB / 425.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.2358, allocations: 15.86 kB / 425.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.236, allocations: 53.94 kB / 425.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.2362, allocations: 63.72 kB / 425.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.603e-05/0.2363, allocations: 10.11 kB / 425.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.788e-05/0.2363, allocations: 27.92 kB / 425.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.61e-05/0.2364, allocations: 31.83 kB / 425.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.2364, allocations: 4 kB / 425.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.418e-05/0.2364, allocations: 8 kB / 425.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.534e-05/0.2365, allocations: 15.92 kB / 425.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.2365, allocations: 23.81 kB / 425.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.2367, allocations: 71.66 kB / 425.7 MB, free: 12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2367, allocations: 0 / 425.7 MB, free: 12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2367, allocations: 0 / 425.7 MB, free: 12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.2367, allocations: 0 / 425.7 MB, free: 12 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.0005382/0.2372, allocations: 337.7 kB / 426.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.2373, allocations: 8.031 kB / 426.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.14e-05/0.2373, allocations: 192 / 426.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.2373, allocations: 34.75 kB / 426.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.2373, allocations: 12.89 kB / 426.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.2376, allocations: 146.3 kB / 426.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.2376, allocations: 8.375 kB / 426.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.2376, allocations: 384 / 426.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.2379, allocations: 129.8 kB / 426.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.2379, allocations: 0 / 426.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.2379, allocations: 8 kB / 426.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.238, allocations: 4 kB / 426.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.2381, allocations: 39.91 kB / 426.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004881/0.2386, allocations: 345 kB / 426.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.2387, allocations: 83.77 kB / 426.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.752e-05/0.2388, allocations: 42.56 kB / 426.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.2388, allocations: 4 kB / 426.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.2389, allocations: 34.56 kB / 427 MB, free: 10.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.2389, allocations: 0 / 427 MB, free: 10.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000365/0.2392, allocations: 113.5 kB / 427.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/0.2393, allocations: 106.8 kB / 427.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.2394, allocations: 153.7 kB / 427.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.2395, allocations: 26.08 kB / 427.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.069e-05/0.2395, allocations: 104.1 kB / 427.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.2396, allocations: 3.953 kB / 427.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.2396, allocations: 17.72 kB / 427.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.2397, allocations: 326.8 kB / 427.8 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.424e-05/0.2398, allocations: 11.98 kB / 427.8 MB, free: 9.707 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.571e-05/0.2399, allocations: 47.42 kB / 427.8 MB, free: 9.648 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.24, allocations: 67.33 kB / 427.9 MB, free: 9.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.24, allocations: 0 / 427.9 MB, free: 9.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001946/0.2402, allocations: 89.5 kB / 428 MB, free: 9.477 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2403, allocations: 8 kB / 428 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.2403, allocations: 3.984 kB / 428 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.2403, allocations: 0 / 428 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.806e-05/0.2404, allocations: 20.06 kB / 428 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2404, allocations: 0 / 428 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.004e-05/0.2404, allocations: 11.92 kB / 428 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.2404, allocations: 3.984 kB / 428 MB, free: 9.43 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.0001042/0.2405, allocations: 125.8 kB / 428.2 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.092e-05/0.2406, allocations: 49.66 kB / 428.2 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.2407, allocations: 11.95 kB / 428.2 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.2407, allocations: 4 kB / 428.2 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2407, allocations: 0 / 428.2 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2407, allocations: 0 / 428.2 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.2409, allocations: 156.7 kB / 428.4 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.2409, allocations: 3.938 kB / 428.4 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.234e-05/0.241, allocations: 11.92 kB / 428.4 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.241, allocations: 4 kB / 428.4 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.241, allocations: 0 / 428.4 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.241, allocations: 0 / 428.4 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.241, allocations: 4.094 kB / 428.4 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.2413, allocations: 279.5 kB / 428.7 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.2413, allocations: 15.95 kB / 428.7 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.2413, allocations: 7.984 kB / 428.7 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.2414, allocations: 4 kB / 428.7 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.2415, allocations: 3.938 kB / 428.7 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.2415, allocations: 11.98 kB / 428.7 MB, free: 8.668 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.629e-05/0.2416, allocations: 118.1 kB / 428.8 MB, free: 8.555 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2416, allocations: 0 / 428.8 MB, free: 8.555 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.2418, allocations: 11.94 kB / 428.9 MB, free: 8.543 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.0005791/0.2424, allocations: 0.7946 MB / 429.6 MB, free: 7.719 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.2426, allocations: 55.89 kB / 429.7 MB, free: 7.664 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2426, allocations: 0 / 429.7 MB, free: 7.664 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.033e-05/0.2427, allocations: 23.92 kB / 429.7 MB, free: 7.641 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.2431, allocations: 22.08 kB / 429.7 MB, free: 7.621 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.2448, allocations: 1.581 MB / 431.3 MB, free: 5.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.561e-05/0.2449, allocations: 83.12 kB / 431.4 MB, free: 5.828 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.365e-05/0.245, allocations: 11.98 kB / 431.4 MB, free: 5.816 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/0.245, allocations: 27.42 kB / 431.4 MB, free: 5.789 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.245, allocations: 0 / 431.4 MB, free: 5.789 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.2667, allocations: 2.08 MB / 433.5 MB, free: 3.863 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.82, allocations: 7.641 kB / 433.5 MB, free: 3.859 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y[1],sample1.y[2] Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,sample1.n,sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2],sine1.amplitude,sine1.f,sine1.offset,sine1.phase,sine1.startTime,sine1.y,sine2.amplitude,sine2.f,sine2.offset,sine2.phase,sine2.startTime,sine2.y,time [Calling sys.exit(0), Time elapsed: 13.23982751101721]