Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.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.001244/0.001244, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001409/0.001409, allocations: 209.2 kB / 23.73 MB, free: 4.523 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.373/1.373, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 47.92 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2797, allocations: 53.36 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002381/0.282, allocations: 0.92 MB / 432 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003753/0.2824, allocations: 131.5 kB / 432.1 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.686e-05/0.2825, allocations: 7.938 kB / 432.1 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.2826, allocations: 7.875 kB / 432.1 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.2827, allocations: 19.86 kB / 432.2 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.283, allocations: 43.89 kB / 432.2 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.2831, allocations: 63.83 kB / 432.3 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.2832, allocations: 28.02 kB / 432.3 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.392e-05/0.2833, allocations: 35.84 kB / 432.3 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.2833, allocations: 27.84 kB / 432.4 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.2833, allocations: 8 kB / 432.4 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.281e-05/0.2834, allocations: 4 kB / 432.4 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.288e-05/0.2834, allocations: 31.92 kB / 432.4 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.938e-05/0.2835, allocations: 27.8 kB / 432.4 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.2837, allocations: 89.34 kB / 432.5 MB, free: 5.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2837, allocations: 0 / 432.5 MB, free: 5.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2837, allocations: 0 / 432.5 MB, free: 5.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.2837, allocations: 0 / 432.5 MB, free: 5.211 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004504/0.2841, allocations: 317.9 kB / 432.8 MB, free: 4.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.2842, allocations: 8.031 kB / 432.8 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.816e-05/0.2842, allocations: 38.75 kB / 432.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.2842, allocations: 16.88 kB / 432.9 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.2845, allocations: 158.2 kB / 433 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.2845, allocations: 4.375 kB / 433 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.2845, allocations: 12.38 kB / 433.1 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004233/0.285, allocations: 218 kB / 433.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.285, allocations: 3.938 kB / 433.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.285, allocations: 8 kB / 433.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.285, allocations: 4 kB / 433.3 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.703e-05/0.2851, allocations: 35.98 kB / 433.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.2853, allocations: 148.6 kB / 433.5 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.2855, allocations: 118.6 kB / 433.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.2856, allocations: 69.2 kB / 433.6 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.2856, allocations: 11.92 kB / 433.7 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.2856, allocations: 30.56 kB / 433.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.082e-06/0.2856, allocations: 0 / 433.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002944/0.2859, allocations: 161.5 kB / 433.8 MB, free: 3.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.286, allocations: 59.41 kB / 433.9 MB, free: 3.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.2861, allocations: 145.8 kB / 434 MB, free: 3.508 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.2861, allocations: 33.64 kB / 434.1 MB, free: 3.469 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.887e-05/0.2862, allocations: 84.47 kB / 434.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.2862, allocations: 8 kB / 434.2 MB, free: 3.371 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/0.2863, allocations: 41.66 kB / 434.2 MB, free: 3.324 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2864, allocations: 322.8 kB / 434.5 MB, free: 3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.943e-05/0.2864, allocations: 23.92 kB / 434.5 MB, free: 2.977 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.2866, allocations: 116.5 kB / 434.7 MB, free: 2.816 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.2868, allocations: 153.5 kB / 434.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2868, allocations: 0 / 434.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002174/0.287, allocations: 157.6 kB / 435 MB, free: 2.457 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.287, allocations: 11.94 kB / 435 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.287, allocations: 4 kB / 435 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.287, allocations: 8 kB / 435 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.866e-05/0.287, allocations: 15.92 kB / 435 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.2871, allocations: 7.984 kB / 435 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.049e-05/0.2871, allocations: 15.89 kB / 435 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.2871, allocations: 8 kB / 435 MB, free: 2.387 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001255/0.2873, allocations: 137.8 kB / 435.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.2874, allocations: 128.8 kB / 435.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.495e-05/0.2875, allocations: 17.12 kB / 435.3 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2875, allocations: 0 / 435.3 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2875, allocations: 0 / 435.3 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.2875, allocations: 7.984 kB / 435.3 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.2876, allocations: 148.6 kB / 435.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2876, allocations: 0 / 435.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.044e-05/0.2876, allocations: 8 kB / 435.5 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.2876, allocations: 3.938 kB / 435.5 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.2876, allocations: 0 / 435.5 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2876, allocations: 0 / 435.5 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2876, allocations: 4 kB / 435.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.2878, allocations: 156.9 kB / 435.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.701e-05/0.2879, allocations: 31.77 kB / 435.7 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.2879, allocations: 8 kB / 435.7 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.964e-05/0.2879, allocations: 0 / 435.7 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-06/0.288, allocations: 0 / 435.7 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.288, allocations: 4 kB / 435.7 MB, free: 1.672 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.73e-05/0.288, allocations: 111.2 kB / 435.8 MB, free: 1.562 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.288, allocations: 0 / 435.8 MB, free: 1.562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.2883, allocations: 20 kB / 435.8 MB, free: 1.543 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (unitDelay1.u,unitDelay1.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.0006691/0.2889, allocations: 0.7439 MB / 436.6 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.2891, allocations: 90.73 kB / 436.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.2891, allocations: 4 kB / 436.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.2891, allocations: 1.062 kB / 436.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.2895, allocations: 77.98 kB / 436.7 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.2911, allocations: 1.63 MB / 438.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.611e-05/0.2912, allocations: 96.48 kB / 438.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.303e-05/0.2912, allocations: 8.641 kB / 438.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.787e-05/0.2913, allocations: 31.44 kB / 438.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2913, allocations: 0 / 438.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.3205, allocations: 3.048 MB / 441.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.68, allocations: 0 / 441.5 MB, free: 11.75 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.930001550004818]