Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 111.8 kB / 17.06 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 194.9 kB / 18 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001012, allocations: 47.92 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2567, allocations: 49.44 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002536/0.2593, allocations: 1.523 MB / 401.8 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003622/0.2597, allocations: 151.8 kB / 401.9 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.747e-05/0.2597, allocations: 2.438 kB / 401.9 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.265e-05/0.2598, allocations: 3.938 kB / 401.9 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.264e-05/0.2599, allocations: 17.98 kB / 401.9 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.2601, allocations: 35 kB / 402 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.571e-05/0.2602, allocations: 42.59 kB / 402 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.54e-05/0.2603, allocations: 12 kB / 402 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.299e-05/0.2604, allocations: 15.92 kB / 402 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.683e-05/0.2604, allocations: 19.91 kB / 402 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.2605, allocations: 8 kB / 402.1 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.195e-05/0.2605, allocations: 4 kB / 402.1 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.123e-05/0.2605, allocations: 11.94 kB / 402.1 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.574e-05/0.2606, allocations: 31.73 kB / 402.1 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.2607, allocations: 59.75 kB / 402.2 MB, free: 6.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2607, allocations: 0 / 402.2 MB, free: 6.875 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2608, allocations: 0 / 402.2 MB, free: 6.875 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.2608, allocations: 3.984 kB / 402.2 MB, free: 6.871 MB / 318.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.0004617/0.2612, allocations: 380.8 kB / 402.5 MB, free: 6.449 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.2613, allocations: 12.03 kB / 402.5 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.2613, allocations: 34.73 kB / 402.6 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.2614, allocations: 12.78 kB / 402.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.2616, allocations: 196.1 kB / 402.8 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.2616, allocations: 8.312 kB / 402.8 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.2616, allocations: 8.344 kB / 402.8 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.2619, allocations: 130.4 kB / 402.9 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2619, allocations: 3.938 kB / 402.9 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.262, allocations: 0 / 402.9 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.262, allocations: 4 kB / 402.9 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.2621, allocations: 31.97 kB / 403 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.2625, allocations: 373.8 kB / 403.3 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.2627, allocations: 87.77 kB / 403.4 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.933e-05/0.2628, allocations: 38.62 kB / 403.5 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.2628, allocations: 4 kB / 403.5 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.2628, allocations: 34.56 kB / 403.5 MB, free: 5.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.2628, allocations: 0 / 403.5 MB, free: 5.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003412/0.2632, allocations: 109.6 kB / 403.6 MB, free: 5.207 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.2633, allocations: 106.8 kB / 403.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.2634, allocations: 141.8 kB / 403.8 MB, free: 4.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.2634, allocations: 29.7 kB / 403.9 MB, free: 4.895 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.483e-05/0.2635, allocations: 88.08 kB / 404 MB, free: 4.805 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.178e-05/0.2635, allocations: 3.906 kB / 404 MB, free: 4.801 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.2635, allocations: 25.89 kB / 404 MB, free: 4.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2636, allocations: 318.8 kB / 404.3 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.169e-05/0.2637, allocations: 15.98 kB / 404.3 MB, free: 4.434 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.615e-05/0.2638, allocations: 43.41 kB / 404.4 MB, free: 4.379 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.2639, allocations: 67.28 kB / 404.4 MB, free: 4.301 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2639, allocations: 0 / 404.4 MB, free: 4.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000164/0.2641, allocations: 81.55 kB / 404.5 MB, free: 4.215 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2641, allocations: 4 kB / 404.5 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2641, allocations: 4.125 kB / 404.5 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.2641, allocations: 4 kB / 404.5 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.534e-05/0.2642, allocations: 11.98 kB / 404.5 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.2642, allocations: 0 / 404.5 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.2643, allocations: 15.83 kB / 404.5 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.2643, allocations: 4 kB / 404.5 MB, free: 4.172 MB / 318.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: 4 (sample1.u[2],sample1.u[1],sample1.y[2],sample1.y[1]) * 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.632e-05/0.2644, allocations: 125.8 kB / 404.7 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.832e-05/0.2645, allocations: 53.53 kB / 404.7 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.507e-05/0.2645, allocations: 11.91 kB / 404.7 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.2646, allocations: 11.92 kB / 404.7 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2646, allocations: 0 / 404.7 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2646, allocations: 0 / 404.7 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.2648, allocations: 189.6 kB / 404.9 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.2648, allocations: 0 / 404.9 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.358e-05/0.2648, allocations: 7.984 kB / 404.9 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2649, allocations: 4 kB / 404.9 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.2649, allocations: 0 / 404.9 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2649, allocations: 0 / 404.9 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2649, allocations: 4 kB / 404.9 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.2651, allocations: 267.4 kB / 405.2 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.913e-05/0.2652, allocations: 93 kB / 405.3 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.2652, allocations: 0 / 405.3 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.2653, allocations: 8 kB / 405.3 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.2654, allocations: 4.125 kB / 405.3 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.2654, allocations: 11.92 kB / 405.3 MB, free: 3.289 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.568e-05/0.2654, allocations: 114 kB / 405.4 MB, free: 3.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2654, allocations: 0 / 405.4 MB, free: 3.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.2657, allocations: 8 kB / 405.4 MB, free: 3.172 MB / 318.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: 4 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.y[2]) * 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.0005004/0.2662, allocations: 0.803 MB / 406.2 MB, free: 2.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001745/0.2664, allocations: 43.91 kB / 406.3 MB, free: 2.297 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2664, allocations: 4.25 kB / 406.3 MB, free: 2.293 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.938e-05/0.2665, allocations: 19.98 kB / 406.3 MB, free: 2.273 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.2669, allocations: 21.7 kB / 406.3 MB, free: 2.254 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.2683, allocations: 1.497 MB / 407.8 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.2686, allocations: 0.6963 MB / 408.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.161e-05/0.2687, allocations: 7.984 kB / 408.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.2687, allocations: 15.44 kB / 408.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2687, allocations: 0 / 408.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.2897, allocations: 1.744 MB / 410.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.14, allocations: 4.484 kB / 410.3 MB, free: 14.31 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches