Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001084/0.001084, allocations: 197.5 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 226.5 MB / 244.7 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008039/0.0008043, allocations: 106.7 kB / 296.7 MB, free: 6.691 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002391/0.0002393, allocations: 4 kB / 356.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2944, allocations: 51.3 MB / 408.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001191/0.2957, allocations: 0.6016 MB / 408.7 MB, free: 27.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003466/0.2961, allocations: 131.6 kB / 408.9 MB, free: 26.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.32e-05/0.2962, allocations: 0 / 408.9 MB, free: 26.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.2963, allocations: 7.938 kB / 408.9 MB, free: 26.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.281e-05/0.2964, allocations: 7.922 kB / 408.9 MB, free: 26.94 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.2966, allocations: 31.97 kB / 408.9 MB, free: 26.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.649e-05/0.2968, allocations: 59.83 kB / 409 MB, free: 26.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.2969, allocations: 39.95 kB / 409 MB, free: 26.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.732e-05/0.2969, allocations: 19.88 kB / 409 MB, free: 26.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.297, allocations: 23.84 kB / 409.1 MB, free: 26.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.297, allocations: 5.75 kB / 409.1 MB, free: 26.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.428e-05/0.297, allocations: 0 / 409.1 MB, free: 26.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.258e-05/0.2971, allocations: 19.91 kB / 409.1 MB, free: 26.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.923e-05/0.2972, allocations: 53.52 kB / 409.1 MB, free: 26.69 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.2973, allocations: 59.88 kB / 409.2 MB, free: 26.63 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.2973, allocations: 0.7812 kB / 409.2 MB, free: 26.63 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2973, allocations: 0 / 409.2 MB, free: 26.63 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2973, allocations: 1.094 kB / 409.2 MB, free: 26.63 MB / 298.7 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.0004248/0.2978, allocations: 372.4 kB / 409.6 MB, free: 26.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.2978, allocations: 14.88 kB / 409.6 MB, free: 26.2 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.428e-05/0.2979, allocations: 46.67 kB / 409.6 MB, free: 26.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.2979, allocations: 12.84 kB / 409.6 MB, free: 26.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.2982, allocations: 196.1 kB / 409.8 MB, free: 25.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.2982, allocations: 8.375 kB / 409.8 MB, free: 25.9 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.2982, allocations: 4.375 kB / 409.8 MB, free: 25.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.2986, allocations: 229.6 kB / 410.1 MB, free: 25.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.2987, allocations: 3.938 kB / 410.1 MB, free: 25.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.2987, allocations: 0 / 410.1 MB, free: 25.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.2987, allocations: 4 kB / 410.1 MB, free: 25.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.515e-05/0.2988, allocations: 36.83 kB / 410.1 MB, free: 25.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001253/0.2989, allocations: 188 kB / 410.3 MB, free: 25.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.2991, allocations: 126.6 kB / 410.4 MB, free: 25.26 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.867e-05/0.2992, allocations: 81.84 kB / 410.5 MB, free: 25.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.2992, allocations: 7.984 kB / 410.5 MB, free: 25.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.2993, allocations: 30.56 kB / 410.5 MB, free: 25.13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.2993, allocations: 0 / 410.5 MB, free: 25.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002488/0.2995, allocations: 152.5 kB / 410.7 MB, free: 24.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.2996, allocations: 63.41 kB / 410.7 MB, free: 24.9 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.469e-05/0.2997, allocations: 144.7 kB / 410.9 MB, free: 24.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.2997, allocations: 37.69 kB / 410.9 MB, free: 24.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.888e-05/0.2997, allocations: 88.45 kB / 411 MB, free: 24.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.2998, allocations: 11.91 kB / 411 MB, free: 24.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/0.2998, allocations: 0 / 411 MB, free: 24.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.725e-05/0.2998, allocations: 322.8 kB / 411.3 MB, free: 24.28 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.615e-05/0.2999, allocations: 19.92 kB / 411.3 MB, free: 24.26 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.935e-05/0.2999, allocations: 125.6 kB / 411.5 MB, free: 24.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.3, allocations: 145.5 kB / 411.6 MB, free: 23.9 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3, allocations: 4 kB / 411.6 MB, free: 23.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002044/0.3003, allocations: 157.2 kB / 411.8 MB, free: 23.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3003, allocations: 11.92 kB / 411.8 MB, free: 23.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3003, allocations: 4 kB / 411.8 MB, free: 23.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.3003, allocations: 4 kB / 411.8 MB, free: 23.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.68e-05/0.3003, allocations: 8 kB / 411.8 MB, free: 23.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.3004, allocations: 8.438 kB / 411.8 MB, free: 23.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.093e-05/0.3004, allocations: 15.91 kB / 411.8 MB, free: 23.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.3004, allocations: 11.98 kB / 411.8 MB, free: 23.67 MB / 298.7 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,unitDelay2.u,$CLKPRE.unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,unitDelay1.u,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.3006, allocations: 141.7 kB / 412 MB, free: 23.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.3007, allocations: 117.5 kB / 412.1 MB, free: 23.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.56e-05/0.3008, allocations: 21.19 kB / 412.1 MB, free: 23.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3008, allocations: 0 / 412.1 MB, free: 23.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3008, allocations: 0 / 412.1 MB, free: 23.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.3008, allocations: 11.98 kB / 412.1 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.168e-05/0.3009, allocations: 185.6 kB / 412.3 MB, free: 23.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3009, allocations: 0 / 412.3 MB, free: 23.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.952e-05/0.3009, allocations: 7.938 kB / 412.3 MB, free: 23.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3009, allocations: 7.938 kB / 412.3 MB, free: 23.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.3009, allocations: 0 / 412.3 MB, free: 23.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3009, allocations: 0 / 412.3 MB, free: 23.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3009, allocations: 0 / 412.3 MB, free: 23.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.3011, allocations: 159.6 kB / 412.5 MB, free: 22.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.3012, allocations: 104.9 kB / 412.6 MB, free: 22.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.3012, allocations: 4 kB / 412.6 MB, free: 22.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.116e-05/0.3012, allocations: 0 / 412.6 MB, free: 22.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-06/0.3012, allocations: 0 / 412.6 MB, free: 22.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.3012, allocations: 8 kB / 412.6 MB, free: 22.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.281e-05/0.3013, allocations: 107.2 kB / 412.7 MB, free: 22.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3013, allocations: 0 / 412.7 MB, free: 22.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002075/0.3015, allocations: 16 kB / 412.7 MB, free: 22.69 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004321/0.302, allocations: 0.7472 MB / 413.5 MB, free: 21.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.3021, allocations: 100.7 kB / 413.5 MB, free: 21.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3021, allocations: 3.938 kB / 413.6 MB, free: 21.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.3021, allocations: 4.125 kB / 413.6 MB, free: 21.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.3025, allocations: 83.03 kB / 413.6 MB, free: 21.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007396/0.3033, allocations: 0.7246 MB / 414.4 MB, free: 20.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.3035, allocations: 0.7165 MB / 415.1 MB, free: 20.17 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.561e-05/0.3035, allocations: 27.5 kB / 415.1 MB, free: 20.14 MB / 298.7 MB Notification: Performance of SimCode: time 9.32e-07/0.3035, allocations: 0 / 415.1 MB, free: 20.14 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.788/3.091, allocations: 1.435 MB / 416.5 MB, free: 18.71 MB / 298.7 MB (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,assignClock1.y[1],assignClock1.y[2] Variables in the result:assignClock1.n,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],integerConstant.k,integerConstant.y,integerConstant1.k,integerConstant1.y,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,previous(unitDelay1.u),previous(unitDelay2.u),time,unitDelay1.u,unitDelay1.y,unitDelay1.y_start,unitDelay2.u,unitDelay2.y,unitDelay2.y_start,xor.u1,xor.u2,xor.y,xor1.u1,xor1.u2,xor1.y