Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001321/0.001321, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001442/0.001442, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.555/1.555, allocations: 230.5 MB / 257.4 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 63.89 kB / 377.7 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3021, allocations: 53.41 MB / 431.1 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002477/0.3046, allocations: 0.9237 MB / 432.1 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004005/0.305, allocations: 135.5 kB / 432.2 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.46e-05/0.3051, allocations: 3.938 kB / 432.2 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.3052, allocations: 3.938 kB / 432.2 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.3053, allocations: 15.86 kB / 432.2 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.3055, allocations: 47.89 kB / 432.3 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.3057, allocations: 63.83 kB / 432.3 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.3058, allocations: 28.02 kB / 432.4 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.254e-05/0.3059, allocations: 27.86 kB / 432.4 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.146e-05/0.3059, allocations: 19.86 kB / 432.4 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.3059, allocations: 12 kB / 432.4 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.51e-05/0.3059, allocations: 4 kB / 432.4 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.79e-05/0.306, allocations: 35.89 kB / 432.4 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/0.3061, allocations: 27.81 kB / 432.5 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.3062, allocations: 85.34 kB / 432.6 MB, free: 5.012 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3062, allocations: 0 / 432.6 MB, free: 5.012 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3062, allocations: 4 kB / 432.6 MB, free: 5.008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.3063, allocations: 0 / 432.6 MB, free: 5.008 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.000438/0.3067, allocations: 313.9 kB / 432.9 MB, free: 4.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.3067, allocations: 15.98 kB / 432.9 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.517e-05/0.3068, allocations: 42.73 kB / 432.9 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.3068, allocations: 12.89 kB / 432.9 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.3071, allocations: 158.2 kB / 433.1 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.3071, allocations: 384 / 433.1 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.3071, allocations: 12.38 kB / 433.1 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004199/0.3075, allocations: 222.2 kB / 433.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3076, allocations: 7.938 kB / 433.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.3076, allocations: 4 kB / 433.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3076, allocations: 0 / 433.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.905e-05/0.3077, allocations: 43.86 kB / 433.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.3078, allocations: 148.6 kB / 433.5 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.3081, allocations: 122.7 kB / 433.6 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.3082, allocations: 69.11 kB / 433.7 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.3082, allocations: 0 / 433.7 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.3082, allocations: 34.56 kB / 433.7 MB, free: 3.688 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.012e-06/0.3082, allocations: 4 kB / 433.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003159/0.3085, allocations: 156.7 kB / 433.9 MB, free: 3.527 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.417e-05/0.3086, allocations: 71.33 kB / 434 MB, free: 3.445 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.3088, allocations: 140.3 kB / 434.1 MB, free: 3.301 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.3088, allocations: 29.7 kB / 434.1 MB, free: 3.266 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.218e-05/0.3089, allocations: 92.45 kB / 434.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.3089, allocations: 7.984 kB / 434.2 MB, free: 3.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-05/0.309, allocations: 45.66 kB / 434.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.3092, allocations: 318.8 kB / 434.6 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.792e-05/0.3093, allocations: 19.98 kB / 434.6 MB, free: 2.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.3094, allocations: 117.7 kB / 434.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.3096, allocations: 153.5 kB / 434.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.3096, allocations: 0 / 434.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002446/0.3098, allocations: 153.5 kB / 435 MB, free: 2.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.3099, allocations: 11.88 kB / 435 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.3099, allocations: 4 kB / 435 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.3099, allocations: 4 kB / 435 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.783e-05/0.3099, allocations: 19.92 kB / 435.1 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.31, allocations: 4 kB / 435.1 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.42e-05/0.31, allocations: 11.89 kB / 435.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.31, allocations: 12 kB / 435.1 MB, free: 2.184 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.0001747/0.3102, allocations: 146 kB / 435.2 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.3104, allocations: 125.4 kB / 435.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.454e-05/0.3104, allocations: 13.12 kB / 435.4 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3104, allocations: 4 kB / 435.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3105, allocations: 0 / 435.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3105, allocations: 0 / 435.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.3106, allocations: 144.7 kB / 435.5 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3106, allocations: 0 / 435.5 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-05/0.3106, allocations: 11.98 kB / 435.5 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.3106, allocations: 3.938 kB / 435.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.3106, allocations: 4 kB / 435.5 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.3106, allocations: 4 kB / 435.5 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3106, allocations: 3.938 kB / 435.5 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.3109, allocations: 148.9 kB / 435.7 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.141e-05/0.3109, allocations: 35.75 kB / 435.7 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.311, allocations: 7.984 kB / 435.7 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.053e-05/0.311, allocations: 0 / 435.7 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-06/0.311, allocations: 4 kB / 435.7 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.311, allocations: 4 kB / 435.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.195e-05/0.3111, allocations: 110 kB / 435.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3111, allocations: 0 / 435.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.3113, allocations: 24 kB / 435.9 MB, free: 1.332 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.0007552/0.3121, allocations: 0.7408 MB / 436.6 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.3123, allocations: 88.78 kB / 436.7 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3123, allocations: 0 / 436.7 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.3123, allocations: 4 kB / 436.7 MB, free: 488 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.3128, allocations: 79.61 kB / 436.8 MB, free: 412 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.3146, allocations: 1.626 MB / 438.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.69e-05/0.3147, allocations: 100.5 kB / 438.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.663e-05/0.3147, allocations: 12.64 kB / 438.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.3148, allocations: 23.44 kB / 438.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3148, allocations: 0 / 438.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02987/0.3446, allocations: 3.027 MB / 441.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.13, allocations: 8.062 kB / 441.6 MB, free: 11.53 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.678473388310522]