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.001934/0.001934, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.001864/0.001864, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.001581/0.001581, allocations: 51.92 kB / 377.8 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3071, allocations: 53.36 MB / 431.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002253/0.3094, allocations: 0.9281 MB / 432.1 MB, free: 5.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003773/0.3097, allocations: 127.5 kB / 432.2 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.883e-05/0.3098, allocations: 11.88 kB / 432.2 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.3099, allocations: 11.86 kB / 432.2 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.361e-05/0.31, allocations: 11.94 kB / 432.2 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.3102, allocations: 47.88 kB / 432.3 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.3103, allocations: 59.84 kB / 432.3 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3105, allocations: 32 kB / 432.4 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.894e-05/0.3105, allocations: 31.92 kB / 432.4 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.576e-05/0.3106, allocations: 31.78 kB / 432.4 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.3106, allocations: 8 kB / 432.4 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/0.3106, allocations: 4 kB / 432.4 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.277e-05/0.3107, allocations: 27.92 kB / 432.5 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.689e-05/0.3107, allocations: 43.67 kB / 432.5 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.3109, allocations: 81.41 kB / 432.6 MB, free: 5.414 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3109, allocations: 0 / 432.6 MB, free: 5.414 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.3109, allocations: 0 / 432.6 MB, free: 5.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.3109, allocations: 0 / 432.6 MB, free: 5.414 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.0003627/0.3112, allocations: 325.9 kB / 432.9 MB, free: 5.062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.3113, allocations: 8.031 kB / 432.9 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.3113, allocations: 38.75 kB / 433 MB, free: 5.008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.671e-05/0.3113, allocations: 8.891 kB / 433 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.3116, allocations: 150.3 kB / 433.1 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.3116, allocations: 4.375 kB / 433.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.3116, allocations: 8.375 kB / 433.1 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/0.312, allocations: 234.4 kB / 433.3 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.312, allocations: 3.938 kB / 433.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.312, allocations: 4 kB / 433.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-06/0.312, allocations: 0 / 433.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.043e-05/0.3121, allocations: 35.98 kB / 433.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001889/0.3122, allocations: 164.6 kB / 433.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.3124, allocations: 121 kB / 433.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.3126, allocations: 77.19 kB / 433.7 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.3126, allocations: 0 / 433.7 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.3126, allocations: 34.56 kB / 433.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 9.62e-07/0.3126, allocations: 4 kB / 433.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003094/0.3129, allocations: 153.4 kB / 433.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.313, allocations: 59.41 kB / 434 MB, free: 3.855 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.3131, allocations: 149.8 kB / 434.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.3131, allocations: 33.64 kB / 434.2 MB, free: 3.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.3132, allocations: 80.47 kB / 434.2 MB, free: 3.574 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.3132, allocations: 11.98 kB / 434.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/0.3133, allocations: 37.67 kB / 434.3 MB, free: 3.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3134, allocations: 326.8 kB / 434.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.032e-05/0.3135, allocations: 23.98 kB / 434.6 MB, free: 3.168 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.3136, allocations: 127.4 kB / 434.8 MB, free: 3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.3137, allocations: 145.5 kB / 434.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3137, allocations: 0 / 434.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002267/0.314, allocations: 157.8 kB / 435.1 MB, free: 2.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.314, allocations: 11.92 kB / 435.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.314, allocations: 4 kB / 435.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.314, allocations: 4 kB / 435.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.618e-05/0.314, allocations: 11.94 kB / 435.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.314, allocations: 7.938 kB / 435.1 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.282e-05/0.3141, allocations: 19.88 kB / 435.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.3141, allocations: 8 kB / 435.1 MB, free: 2.582 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.0001467/0.3143, allocations: 145.8 kB / 435.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.3144, allocations: 117.5 kB / 435.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.679e-05/0.3145, allocations: 21.06 kB / 435.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3145, allocations: 4 kB / 435.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3145, allocations: 0 / 435.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3145, allocations: 3.984 kB / 435.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.3146, allocations: 156.7 kB / 435.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3146, allocations: 0 / 435.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.983e-05/0.3146, allocations: 4 kB / 435.6 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.3146, allocations: 3.938 kB / 435.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.3146, allocations: 7.938 kB / 435.6 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.3147, allocations: 4 kB / 435.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3147, allocations: 0 / 435.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.3148, allocations: 145 kB / 435.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.419e-05/0.3149, allocations: 35.77 kB / 435.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.3149, allocations: 4 kB / 435.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.127e-05/0.315, allocations: 4 kB / 435.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-06/0.315, allocations: 0 / 435.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.315, allocations: 8 kB / 435.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.821e-05/0.315, allocations: 111.2 kB / 435.9 MB, free: 1.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.315, allocations: 0 / 435.9 MB, free: 1.746 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.3153, allocations: 16 kB / 435.9 MB, free: 1.73 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.0006814/0.316, allocations: 0.7481 MB / 436.6 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.3162, allocations: 95.72 kB / 436.7 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3162, allocations: 0 / 436.7 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.3162, allocations: 0 / 436.7 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.3166, allocations: 82.89 kB / 436.8 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.3183, allocations: 1.631 MB / 438.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.3186, allocations: 0.7123 MB / 439.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.677e-05/0.3186, allocations: 12.58 kB / 439.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.373e-05/0.3187, allocations: 19.44 kB / 439.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3187, allocations: 4 kB / 439.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03134/0.35, allocations: 2.638 MB / 441.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.32, allocations: 0 / 441.8 MB, free: 11.7 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: 13.817855809116736]