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.001252/0.001252, allocations: 108.6 kB / 21.22 MB, free: 0.7305 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.001282/0.001282, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.361/1.361, allocations: 225.6 MB / 253.3 MB, free: 13.03 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.001505/0.001505, allocations: 43.92 kB / 371.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2702, allocations: 52.19 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003209/0.2734, allocations: 1.638 MB / 425.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009008/0.2743, allocations: 494.8 kB / 425.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.19e-05/0.2744, allocations: 3.938 kB / 425.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.2745, allocations: 7.922 kB / 425.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.2746, allocations: 15.86 kB / 425.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.2749, allocations: 51.77 kB / 425.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.275, allocations: 55.84 kB / 425.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.2751, allocations: 15.98 kB / 425.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.239e-05/0.2752, allocations: 35.78 kB / 425.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.664e-05/0.2753, allocations: 27.86 kB / 425.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.2753, allocations: 4 kB / 425.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.367e-05/0.2753, allocations: 4 kB / 425.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.355e-05/0.2754, allocations: 15.92 kB / 425.8 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.185e-05/0.2754, allocations: 31.8 kB / 425.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.2756, allocations: 72.45 kB / 425.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2756, allocations: 0 / 425.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2756, allocations: 0 / 425.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.2756, allocations: 4 kB / 425.9 MB, free: 12.14 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.000536/0.2761, allocations: 321.8 kB / 426.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.2762, allocations: 12.03 kB / 426.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.358e-05/0.2762, allocations: 4.172 kB / 426.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.267e-05/0.2762, allocations: 38.69 kB / 426.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.2763, allocations: 8.891 kB / 426.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.2765, allocations: 146.3 kB / 426.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.2765, allocations: 4.375 kB / 426.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.2765, allocations: 4.375 kB / 426.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000309/0.2768, allocations: 129.8 kB / 426.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2768, allocations: 3.938 kB / 426.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.2769, allocations: 0 / 426.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.2769, allocations: 7.984 kB / 426.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.277, allocations: 47.89 kB / 426.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.2775, allocations: 345 kB / 426.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.2776, allocations: 83.78 kB / 427 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.786e-05/0.2777, allocations: 42.61 kB / 427.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.2777, allocations: 3.938 kB / 427.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.2778, allocations: 38.5 kB / 427.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.2778, allocations: 0 / 427.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003608/0.2781, allocations: 113.5 kB / 427.2 MB, free: 10.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.904e-05/0.2782, allocations: 106.8 kB / 427.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.2784, allocations: 158.1 kB / 427.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.2784, allocations: 25.7 kB / 427.5 MB, free: 10.31 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.2784, allocations: 100.1 kB / 427.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.2785, allocations: 3.953 kB / 427.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.2785, allocations: 17.72 kB / 427.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2786, allocations: 326.8 kB / 427.9 MB, free: 9.852 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.601e-05/0.2787, allocations: 11.98 kB / 427.9 MB, free: 9.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.813e-05/0.2788, allocations: 51.42 kB / 428 MB, free: 9.777 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.2789, allocations: 63.34 kB / 428.1 MB, free: 9.703 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2789, allocations: 0 / 428.1 MB, free: 9.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001911/0.2791, allocations: 89.55 kB / 428.1 MB, free: 9.609 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.2791, allocations: 4 kB / 428.1 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.2791, allocations: 4 kB / 428.1 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.2791, allocations: 0 / 428.1 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.425e-05/0.2792, allocations: 11.98 kB / 428.2 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.2792, allocations: 3.938 kB / 428.2 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.854e-05/0.2793, allocations: 20.05 kB / 428.2 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.2793, allocations: 4 kB / 428.2 MB, free: 9.562 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.672e-05/0.2794, allocations: 121.8 kB / 428.3 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.732e-05/0.2795, allocations: 49.64 kB / 428.4 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.2795, allocations: 11.95 kB / 428.4 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.2795, allocations: 4 kB / 428.4 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2795, allocations: 0 / 428.4 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.2796, allocations: 4 kB / 428.4 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.2798, allocations: 152.7 kB / 428.5 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2798, allocations: 4.031 kB / 428.5 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-05/0.2798, allocations: 11.94 kB / 428.5 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2798, allocations: 3.984 kB / 428.5 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.2798, allocations: 4 kB / 428.5 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2799, allocations: 0 / 428.5 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2799, allocations: 3.938 kB / 428.5 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.2801, allocations: 279.5 kB / 428.8 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.898e-05/0.2802, allocations: 19.88 kB / 428.8 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.2802, allocations: 4 kB / 428.8 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.2803, allocations: 7.984 kB / 428.9 MB, free: 8.812 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.2803, allocations: 0 / 428.9 MB, free: 8.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.2803, allocations: 4 kB / 428.9 MB, free: 8.809 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.938e-05/0.2804, allocations: 122 kB / 429 MB, free: 8.691 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2804, allocations: 4 kB / 429 MB, free: 8.688 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.2807, allocations: 11.94 kB / 429 MB, free: 8.676 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.0005824/0.2813, allocations: 0.7946 MB / 429.8 MB, free: 7.852 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.2815, allocations: 47.91 kB / 429.8 MB, free: 7.805 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2815, allocations: 0 / 429.8 MB, free: 7.805 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.447e-05/0.2816, allocations: 27.91 kB / 429.9 MB, free: 7.777 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.282, allocations: 23.3 kB / 429.9 MB, free: 7.758 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.2837, allocations: 1.577 MB / 431.5 MB, free: 6.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.2841, allocations: 0.7 MB / 432.2 MB, free: 5.344 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.034e-05/0.2841, allocations: 12 kB / 432.2 MB, free: 5.332 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.305e-05/0.2842, allocations: 23.42 kB / 432.2 MB, free: 5.309 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2842, allocations: 4 kB / 432.2 MB, free: 5.305 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.3057, allocations: 2.009 MB / 434.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/10.73, allocations: 10.84 kB / 434.2 MB, free: 3.434 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.148204791999888]