Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_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.001295/0.001295, allocations: 113.3 kB / 17.06 MB, free: 5.965 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.001292/0.001293, allocations: 197.3 kB / 18.01 MB, free: 5.047 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.448/1.448, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 43.92 kB / 350.8 MB, free: 3.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2492, allocations: 49.43 MB / 400.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003015/0.2523, allocations: 1.516 MB / 401.7 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004343/0.2528, allocations: 144.2 kB / 401.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.334e-05/0.2529, allocations: 2.031 kB / 401.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.253, allocations: 12.97 kB / 401.9 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.474e-05/0.2531, allocations: 5 kB / 401.9 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.2533, allocations: 48.36 kB / 402 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.2534, allocations: 43.84 kB / 402 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.2536, allocations: 15.98 kB / 402 MB, free: 7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.282e-05/0.2536, allocations: 15.92 kB / 402 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.471e-05/0.2536, allocations: 11.94 kB / 402 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.2537, allocations: 11.94 kB / 402 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.575e-05/0.2537, allocations: 4 kB / 402.1 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.179e-05/0.2538, allocations: 19.86 kB / 402.1 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.282e-05/0.2538, allocations: 27.8 kB / 402.1 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.2539, allocations: 54.84 kB / 402.2 MB, free: 6.859 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.254, allocations: 0 / 402.2 MB, free: 6.859 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.254, allocations: 0 / 402.2 MB, free: 6.859 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.254, allocations: 0 / 402.2 MB, free: 6.859 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.0005346/0.2545, allocations: 371.1 kB / 402.5 MB, free: 6.445 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.2546, allocations: 12.03 kB / 402.5 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.973e-05/0.2546, allocations: 42.73 kB / 402.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.2546, allocations: 8.891 kB / 402.6 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.2549, allocations: 204.1 kB / 402.8 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.255, allocations: 4.375 kB / 402.8 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.255, allocations: 4.375 kB / 402.8 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.2553, allocations: 118.5 kB / 402.9 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.2553, allocations: 3.938 kB / 402.9 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.2553, allocations: 7.938 kB / 402.9 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.2553, allocations: 0 / 402.9 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.779e-05/0.2554, allocations: 23.98 kB / 402.9 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.2559, allocations: 365.8 kB / 403.3 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.256, allocations: 75.78 kB / 403.4 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.632e-05/0.2561, allocations: 34.62 kB / 403.4 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.2561, allocations: 4 kB / 403.4 MB, free: 5.395 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.2562, allocations: 34.56 kB / 403.4 MB, free: 5.352 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.2562, allocations: 0 / 403.4 MB, free: 5.352 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003057/0.2565, allocations: 97.47 kB / 403.5 MB, free: 5.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.781e-05/0.2566, allocations: 111.2 kB / 403.6 MB, free: 5.117 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.2567, allocations: 140 kB / 403.8 MB, free: 4.973 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.2567, allocations: 25.7 kB / 403.8 MB, free: 4.941 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.085e-05/0.2568, allocations: 100.1 kB / 403.9 MB, free: 4.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.2568, allocations: 7.922 kB / 403.9 MB, free: 4.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.2569, allocations: 21.67 kB / 403.9 MB, free: 4.805 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.257, allocations: 326.8 kB / 404.3 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.335e-05/0.2571, allocations: 4 kB / 404.3 MB, free: 4.473 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.095e-05/0.2571, allocations: 43.42 kB / 404.3 MB, free: 4.418 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.2572, allocations: 51.36 kB / 404.3 MB, free: 4.355 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2573, allocations: 7.938 kB / 404.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001427/0.2574, allocations: 69.55 kB / 404.4 MB, free: 4.273 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.2574, allocations: 8 kB / 404.4 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.2574, allocations: 0 / 404.4 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2575, allocations: 0 / 404.4 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.21e-05/0.2575, allocations: 7.984 kB / 404.4 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2575, allocations: 0 / 404.4 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.798e-05/0.2575, allocations: 4 kB / 404.4 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.2576, allocations: 8.125 kB / 404.4 MB, free: 4.246 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[1],sample1.u[2],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 0.0001221/0.2577, allocations: 125.8 kB / 404.6 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.894e-05/0.2578, allocations: 49.59 kB / 404.6 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.2578, allocations: 15.86 kB / 404.6 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.2578, allocations: 0 / 404.6 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.2578, allocations: 4 kB / 404.6 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.2579, allocations: 0 / 404.6 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.2581, allocations: 177.5 kB / 404.8 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2581, allocations: 7.969 kB / 404.8 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-06/0.2581, allocations: 0 / 404.8 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.2582, allocations: 4 kB / 404.8 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.2582, allocations: 3.984 kB / 404.8 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.2582, allocations: 4 kB / 404.8 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2582, allocations: 0 / 404.8 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.2584, allocations: 259.5 kB / 405.1 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.934e-05/0.2585, allocations: 89.05 kB / 405.2 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.2586, allocations: 8 kB / 405.2 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.129e-05/0.2587, allocations: 0 / 405.2 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.2587, allocations: 7.984 kB / 405.2 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.2587, allocations: 0 / 405.2 MB, free: 3.398 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.495e-05/0.2588, allocations: 103.3 kB / 405.3 MB, free: 3.297 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2588, allocations: 0 / 405.3 MB, free: 3.297 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.2591, allocations: 11.95 kB / 405.3 MB, free: 3.285 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[1],sample1.u[2],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.000618/0.2597, allocations: 0.7953 MB / 406.1 MB, free: 2.461 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.2599, allocations: 43.91 kB / 406.1 MB, free: 2.418 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2599, allocations: 4 kB / 406.1 MB, free: 2.414 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.516e-05/0.2599, allocations: 8 kB / 406.2 MB, free: 2.406 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.2603, allocations: 25.47 kB / 406.2 MB, free: 2.383 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.2618, allocations: 1.455 MB / 407.6 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.2622, allocations: 0.7 MB / 408.3 MB, free: 96 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.284e-05/0.2622, allocations: 15.89 kB / 408.3 MB, free: 80 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.2623, allocations: 11.44 kB / 408.4 MB, free: 68 kB / 318.1 MB Notification: Performance of SimCode: time 4e-07/0.2623, allocations: 0 / 408.4 MB, free: 68 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.2858, allocations: 1.719 MB / 410.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.872/8.158, allocations: 11.67 kB / 410.1 MB, free: 14.49 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches