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.00161/0.00161, allocations: 107.5 kB / 21.22 MB, free: 0.6289 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.002012/0.002012, allocations: 212.5 kB / 24.51 MB, free: 3.918 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.379/1.379, allocations: 230.6 MB / 258.3 MB, free: 7.727 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 44.02 kB / 378.5 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2334, allocations: 53.37 MB / 431.9 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002806/0.2362, allocations: 1.623 MB / 433.5 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009761/0.2372, allocations: 0.522 MB / 434 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.556e-05/0.2373, allocations: 0 / 434 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.2374, allocations: 7.875 kB / 434 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.2375, allocations: 15.86 kB / 434 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.2378, allocations: 79.72 kB / 434.1 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.2379, allocations: 63.72 kB / 434.2 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.238, allocations: 18.09 kB / 434.2 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.2382, allocations: 39.84 kB / 434.2 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.981e-05/0.2382, allocations: 31.78 kB / 434.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.2383, allocations: 4 kB / 434.3 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.646e-05/0.2383, allocations: 8 kB / 434.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.506e-05/0.2384, allocations: 19.92 kB / 434.3 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.2384, allocations: 23.81 kB / 434.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.2386, allocations: 83.59 kB / 434.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2386, allocations: 0 / 434.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2386, allocations: 0 / 434.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2386, allocations: 0 / 434.4 MB, free: 4.203 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.000532/0.2391, allocations: 317.9 kB / 434.7 MB, free: 3.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2392, allocations: 12.03 kB / 434.7 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.964e-05/0.2392, allocations: 192 / 434.7 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.2392, allocations: 38.75 kB / 434.8 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002144/0.2394, allocations: 32.8 kB / 434.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.2397, allocations: 158.2 kB / 434.9 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.405e-06/0.2397, allocations: 384 / 434.9 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.2397, allocations: 12.36 kB / 435 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.24, allocations: 125.8 kB / 435.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.24, allocations: 0 / 435.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.24, allocations: 0 / 435.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/0.24, allocations: 4 kB / 435.1 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.2402, allocations: 43.91 kB / 435.1 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.2406, allocations: 340.9 kB / 435.5 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.2408, allocations: 87.77 kB / 435.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.992e-05/0.2408, allocations: 34.62 kB / 435.6 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.2409, allocations: 4 kB / 435.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.2409, allocations: 38.5 kB / 435.6 MB, free: 2.801 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.2409, allocations: 0 / 435.6 MB, free: 2.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003656/0.2413, allocations: 117.5 kB / 435.7 MB, free: 2.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.396e-05/0.2413, allocations: 102.8 kB / 435.8 MB, free: 2.555 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.2415, allocations: 158.2 kB / 436 MB, free: 2.391 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.2415, allocations: 25.7 kB / 436 MB, free: 2.359 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.2416, allocations: 92.14 kB / 436.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.2416, allocations: 12.27 kB / 436.1 MB, free: 2.254 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.2416, allocations: 21.7 kB / 436.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.2417, allocations: 322.8 kB / 436.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.283e-05/0.2418, allocations: 23.97 kB / 436.5 MB, free: 1.879 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.389e-05/0.2419, allocations: 43.36 kB / 436.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.242, allocations: 67.34 kB / 436.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.242, allocations: 4 kB / 436.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001838/0.2422, allocations: 89.55 kB / 436.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.2422, allocations: 4 kB / 436.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2422, allocations: 0 / 436.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.2423, allocations: 4 kB / 436.7 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.425e-05/0.2423, allocations: 15.92 kB / 436.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.2424, allocations: 4.125 kB / 436.7 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.334e-05/0.2424, allocations: 4 kB / 436.7 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.2424, allocations: 4 kB / 436.7 MB, free: 1.613 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.753e-05/0.2425, allocations: 125.7 kB / 436.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.956e-05/0.2426, allocations: 57.59 kB / 436.9 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.252e-05/0.2426, allocations: 15.92 kB / 436.9 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.2427, allocations: 4 kB / 436.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.2427, allocations: 3.984 kB / 436.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2427, allocations: 0 / 436.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.2429, allocations: 152.7 kB / 437.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2429, allocations: 4.031 kB / 437.1 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.612e-05/0.243, allocations: 8 kB / 437.1 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.243, allocations: 0 / 437.1 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.243, allocations: 7.984 kB / 437.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.243, allocations: 0 / 437.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.243, allocations: 0 / 437.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.2433, allocations: 279.6 kB / 437.4 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.2433, allocations: 19.88 kB / 437.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.2433, allocations: 4 kB / 437.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.2434, allocations: 7.984 kB / 437.4 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.2435, allocations: 8 kB / 437.4 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.2435, allocations: 0 / 437.4 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.781e-05/0.2436, allocations: 116.1 kB / 437.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2436, allocations: 0 / 437.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.2438, allocations: 15.94 kB / 437.5 MB, free: 0.7188 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.0005835/0.2444, allocations: 0.7984 MB / 438.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.2446, allocations: 59.89 kB / 438.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2446, allocations: 0 / 438.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.578e-05/0.2447, allocations: 23.92 kB / 438.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.2451, allocations: 22.59 kB / 438.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.2468, allocations: 1.598 MB / 440 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.15e-05/0.2469, allocations: 84.98 kB / 440.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.693e-05/0.2469, allocations: 4 kB / 440.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.382e-05/0.247, allocations: 31.36 kB / 440.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.247, allocations: 0 / 440.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.2678, allocations: 2.148 MB / 442.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.79, allocations: 7.625 kB / 442.3 MB, free: 11.95 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] "" 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.continuous,sine1.f,sine1.offset,sine1.phase,sine1.startTime,sine1.y,sine2.amplitude,sine2.continuous,sine2.f,sine2.offset,sine2.phase,sine2.startTime,sine2.y,time [Calling sys.exit(0), Time elapsed: 13.228198441909626]