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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001625/0.001625, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002032/0.002032, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 59.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3109, allocations: 50.54 MB / 408.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002405/0.3133, allocations: 0.9094 MB / 409.7 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003777/0.3137, allocations: 127.6 kB / 409.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.07e-05/0.3138, allocations: 4 kB / 409.8 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.314, allocations: 11.86 kB / 409.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.215e-05/0.3141, allocations: 7.938 kB / 409.8 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.3144, allocations: 55.88 kB / 409.9 MB, free: 472 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.3145, allocations: 59.84 kB / 409.9 MB, free: 412 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.3146, allocations: 40.19 kB / 410 MB, free: 368 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.969e-05/0.3147, allocations: 19.88 kB / 410 MB, free: 348 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.587e-05/0.3147, allocations: 43.77 kB / 410 MB, free: 304 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.3148, allocations: 4 kB / 410 MB, free: 300 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.4e-05/0.3148, allocations: 8 kB / 410 MB, free: 292 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.411e-05/0.3149, allocations: 23.92 kB / 410.1 MB, free: 268 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/0.3149, allocations: 39.73 kB / 410.1 MB, free: 228 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.3151, allocations: 83.64 kB / 410.2 MB, free: 144 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3151, allocations: 0 / 410.2 MB, free: 144 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3151, allocations: 0 / 410.2 MB, free: 144 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3151, allocations: 0 / 410.2 MB, free: 144 kB / 318.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.0004273/0.3155, allocations: 388.9 kB / 410.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.3156, allocations: 12.03 kB / 410.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.909e-05/0.3156, allocations: 42.67 kB / 410.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.3157, allocations: 16.75 kB / 410.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.3159, allocations: 204 kB / 410.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.3159, allocations: 8.375 kB / 410.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.3159, allocations: 8.375 kB / 410.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.3163, allocations: 229.7 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3164, allocations: 3.938 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3164, allocations: 3.984 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3164, allocations: 4 kB / 411.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.011e-05/0.3165, allocations: 35.98 kB / 411.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.3166, allocations: 181.6 kB / 411.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.3168, allocations: 133.7 kB / 411.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.317, allocations: 85.05 kB / 411.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.317, allocations: 0 / 411.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.317, allocations: 34.55 kB / 411.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 9.52e-07/0.317, allocations: 8 kB / 411.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002611/0.3173, allocations: 157.3 kB / 411.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.3173, allocations: 63.34 kB / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.3174, allocations: 145.7 kB / 411.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.3175, allocations: 25.7 kB / 411.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.3175, allocations: 88.45 kB / 412 MB, free: 14.08 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.3175, allocations: 8 kB / 412 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.077e-05/0.3176, allocations: 41.61 kB / 412.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.734e-05/0.3177, allocations: 326.8 kB / 412.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.569e-05/0.3177, allocations: 19.98 kB / 412.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.406e-05/0.3178, allocations: 120.8 kB / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.318, allocations: 153.5 kB / 412.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.318, allocations: 0 / 412.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001913/0.3182, allocations: 153.6 kB / 412.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3182, allocations: 12.03 kB / 412.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3182, allocations: 4 kB / 412.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3183, allocations: 4 kB / 412.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.742e-05/0.3183, allocations: 15.98 kB / 412.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.3183, allocations: 7.938 kB / 412.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.475e-05/0.3184, allocations: 8 kB / 412.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.3184, allocations: 8 kB / 412.9 MB, free: 13.1 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.0001244/0.3185, allocations: 157.6 kB / 413 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.3187, allocations: 124.8 kB / 413.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.171e-05/0.3187, allocations: 13.19 kB / 413.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.3187, allocations: 4 kB / 413.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3187, allocations: 0 / 413.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3187, allocations: 0 / 413.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.3189, allocations: 185.6 kB / 413.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3189, allocations: 0 / 413.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.321e-05/0.3189, allocations: 19.8 kB / 413.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3189, allocations: 3.938 kB / 413.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.3189, allocations: 4 kB / 413.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3189, allocations: 4 kB / 413.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3189, allocations: 4 kB / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.3191, allocations: 144.9 kB / 413.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.23e-05/0.3192, allocations: 104.9 kB / 413.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.3192, allocations: 4 kB / 413.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.337e-05/0.3192, allocations: 4 kB / 413.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-06/0.3193, allocations: 0 / 413.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.3193, allocations: 4 kB / 413.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.592e-05/0.3193, allocations: 111.2 kB / 413.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3193, allocations: 0 / 413.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.3196, allocations: 16 kB / 413.8 MB, free: 12.11 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.0005513/0.3201, allocations: 0.7527 MB / 414.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001758/0.3203, allocations: 91.84 kB / 414.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3203, allocations: 0 / 414.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-07/0.3203, allocations: 0 / 414.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.3207, allocations: 88.52 kB / 414.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.3221, allocations: 1.633 MB / 416.3 MB, free: 9.352 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.3224, allocations: 0.7083 MB / 417 MB, free: 8.617 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.913e-05/0.3224, allocations: 12.58 kB / 417 MB, free: 8.605 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.24e-05/0.3225, allocations: 27.44 kB / 417.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3225, allocations: 0 / 417.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.3417, allocations: 2.457 MB / 419.5 MB, free: 6.262 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.521/7.863, allocations: 10.48 kB / 419.5 MB, free: 6.254 MB / 334.1 MB (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 --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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches