Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001572/0.001572, allocations: 193 kB / 17.38 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 226.5 MB / 244.7 MB, free: 8.105 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008/0.0007999, allocations: 92.14 kB / 296.7 MB, free: 6.883 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002642/0.0002644, allocations: 7.938 kB / 356.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2977, allocations: 51.29 MB / 408.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001144/0.2989, allocations: 0.597 MB / 408.7 MB, free: 27.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003236/0.2993, allocations: 139.6 kB / 408.9 MB, free: 26.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.312e-05/0.2994, allocations: 0 / 408.9 MB, free: 26.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.2995, allocations: 11.92 kB / 408.9 MB, free: 26.94 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.2996, allocations: 7.922 kB / 408.9 MB, free: 26.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.2998, allocations: 47.66 kB / 408.9 MB, free: 26.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.3, allocations: 59.83 kB / 409 MB, free: 26.83 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.3001, allocations: 40.17 kB / 409 MB, free: 26.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.214e-05/0.3001, allocations: 15.88 kB / 409 MB, free: 26.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.443e-05/0.3002, allocations: 35.77 kB / 409.1 MB, free: 26.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.3002, allocations: 5.781 kB / 409.1 MB, free: 26.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.395e-05/0.3003, allocations: 0 / 409.1 MB, free: 26.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.45e-05/0.3003, allocations: 23.92 kB / 409.1 MB, free: 26.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.447e-05/0.3004, allocations: 65.38 kB / 409.2 MB, free: 26.65 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.703e-05/0.3005, allocations: 59.88 kB / 409.2 MB, free: 26.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.3005, allocations: 5.25 kB / 409.2 MB, free: 26.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.3005, allocations: 0 / 409.2 MB, free: 26.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.3005, allocations: 0 / 409.2 MB, free: 26.59 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.0004293/0.3009, allocations: 389.5 kB / 409.6 MB, free: 26.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.301, allocations: 12.03 kB / 409.6 MB, free: 26.14 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.301, allocations: 39.77 kB / 409.7 MB, free: 26.1 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.3011, allocations: 12.84 kB / 409.7 MB, free: 26.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.3013, allocations: 216 kB / 409.9 MB, free: 25.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.3013, allocations: 8.375 kB / 409.9 MB, free: 25.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.3013, allocations: 4.375 kB / 409.9 MB, free: 25.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/0.3017, allocations: 249.5 kB / 410.1 MB, free: 25.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3017, allocations: 3.938 kB / 410.2 MB, free: 25.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3017, allocations: 7.984 kB / 410.2 MB, free: 25.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3017, allocations: 4 kB / 410.2 MB, free: 25.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.618e-05/0.3018, allocations: 48.75 kB / 410.2 MB, free: 25.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001227/0.302, allocations: 189.6 kB / 410.4 MB, free: 25.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.3022, allocations: 143.8 kB / 410.5 MB, free: 25.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.941e-05/0.3023, allocations: 90.52 kB / 410.6 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.3023, allocations: 0 / 410.6 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.3023, allocations: 34.56 kB / 410.7 MB, free: 25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 9.32e-07/0.3023, allocations: 0 / 410.7 MB, free: 25 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002559/0.3026, allocations: 172.8 kB / 410.8 MB, free: 24.83 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/0.3027, allocations: 75.27 kB / 410.9 MB, free: 24.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.3028, allocations: 162.8 kB / 411.1 MB, free: 24.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.3028, allocations: 29.7 kB / 411.1 MB, free: 24.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/0.3028, allocations: 92.47 kB / 411.2 MB, free: 24.44 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.3028, allocations: 7.984 kB / 411.2 MB, free: 24.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.3029, allocations: 8 kB / 411.2 MB, free: 24.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.186e-05/0.3029, allocations: 318.8 kB / 411.5 MB, free: 24.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.011e-05/0.303, allocations: 23.92 kB / 411.5 MB, free: 24.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.633e-05/0.303, allocations: 121.7 kB / 411.6 MB, free: 23.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.3031, allocations: 157.5 kB / 411.8 MB, free: 23.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3031, allocations: 0 / 411.8 MB, free: 23.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001728/0.3033, allocations: 161.4 kB / 412 MB, free: 23.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3034, allocations: 11.94 kB / 412 MB, free: 23.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3034, allocations: 4 kB / 412 MB, free: 23.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3034, allocations: 4 kB / 412 MB, free: 23.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.3035, allocations: 35.92 kB / 412 MB, free: 23.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.3035, allocations: 8 kB / 412 MB, free: 23.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.215e-05/0.3036, allocations: 4 kB / 412 MB, free: 23.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.3036, allocations: 15.94 kB / 412 MB, free: 23.46 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 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,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.0001163/0.3037, allocations: 150 kB / 412.2 MB, free: 23.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.3039, allocations: 137.4 kB / 412.3 MB, free: 23.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.565e-05/0.3039, allocations: 21.17 kB / 412.3 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3039, allocations: 4 kB / 412.3 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3039, allocations: 0 / 412.3 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.304, allocations: 0 / 412.3 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.626e-05/0.3041, allocations: 193.5 kB / 412.5 MB, free: 22.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3041, allocations: 0 / 412.5 MB, free: 22.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.3042, allocations: 31.98 kB / 412.6 MB, free: 22.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3042, allocations: 3.938 kB / 412.6 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.3042, allocations: 4 kB / 412.6 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.654e-06/0.3042, allocations: 3.984 kB / 412.6 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3042, allocations: 0 / 412.6 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.3044, allocations: 167.7 kB / 412.7 MB, free: 22.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.648e-05/0.3044, allocations: 100.9 kB / 412.8 MB, free: 22.56 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.3045, allocations: 7.938 kB / 412.8 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.192e-05/0.3045, allocations: 15.92 kB / 412.9 MB, free: 22.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-06/0.3045, allocations: 0 / 412.9 MB, free: 22.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.3045, allocations: 4 kB / 412.9 MB, free: 22.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.161e-05/0.3046, allocations: 119.1 kB / 413 MB, free: 22.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3046, allocations: 0 / 413 MB, free: 22.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000209/0.3048, allocations: 20 kB / 413 MB, free: 22.39 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,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.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.0004844/0.3053, allocations: 0.7722 MB / 413.8 MB, free: 21.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001667/0.3055, allocations: 91.83 kB / 413.9 MB, free: 21.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3055, allocations: 5.062 kB / 413.9 MB, free: 21.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.694e-06/0.3055, allocations: 0 / 413.9 MB, free: 21.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.3059, allocations: 94.97 kB / 414 MB, free: 21.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008178/0.3067, allocations: 0.8116 MB / 414.8 MB, free: 20.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.3069, allocations: 0.724 MB / 415.5 MB, free: 19.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.122e-05/0.307, allocations: 31.38 kB / 415.5 MB, free: 19.72 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.307, allocations: 0 / 415.5 MB, free: 19.72 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.734/3.041, allocations: 1.651 MB / 417.2 MB, free: 18.07 MB / 298.7 MB (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.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],const.k,const.y,const1.k,const1.y,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,previous(unitDelay1.u),previous(unitDelay2.u),sum1.k[1],sum1.k[2],sum1.nu,sum1.u[1],sum1.u[2],sum1.y,sum2.k[1],sum2.k[2],sum2.nu,sum2.u[1],sum2.u[2],sum2.y,time,unitDelay1.u,unitDelay1.y,unitDelay1.y_start,unitDelay2.u,unitDelay2.y,unitDelay2.y_start