Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001313/0.001313, allocations: 122.8 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 63.91 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2815, allocations: 50.54 MB / 408.8 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002299/0.2839, allocations: 0.9045 MB / 409.7 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003922/0.2843, allocations: 135.6 kB / 409.9 MB, free: 468 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.171e-05/0.2844, allocations: 3.938 kB / 409.9 MB, free: 464 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.2845, allocations: 15.86 kB / 409.9 MB, free: 448 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.2846, allocations: 15.92 kB / 409.9 MB, free: 432 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.2849, allocations: 51.88 kB / 409.9 MB, free: 380 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.285, allocations: 63.78 kB / 410 MB, free: 316 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.2852, allocations: 43.97 kB / 410 MB, free: 272 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.478e-05/0.2852, allocations: 27.92 kB / 410.1 MB, free: 244 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.491e-05/0.2853, allocations: 39.77 kB / 410.1 MB, free: 204 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.824e-05/0.2853, allocations: 8 kB / 410.1 MB, free: 196 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.069e-05/0.2854, allocations: 4 kB / 410.1 MB, free: 192 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.852e-05/0.2854, allocations: 31.91 kB / 410.2 MB, free: 160 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.717e-05/0.2855, allocations: 39.69 kB / 410.2 MB, free: 120 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.2857, allocations: 106.4 kB / 410.3 MB, free: 16 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2857, allocations: 0 / 410.3 MB, free: 16 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2857, allocations: 4 kB / 410.3 MB, free: 12 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.2857, allocations: 0 / 410.3 MB, free: 12 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.000586/0.2863, allocations: 410.9 kB / 410.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.2864, allocations: 8.031 kB / 410.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.447e-05/0.2864, allocations: 46.73 kB / 410.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.2864, allocations: 12.84 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.2867, allocations: 224 kB / 411 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.2867, allocations: 8.375 kB / 411 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.2867, allocations: 8.375 kB / 411 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/0.2872, allocations: 237.6 kB / 411.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.2872, allocations: 3.938 kB / 411.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.2872, allocations: 4 kB / 411.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2872, allocations: 11.94 kB / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.532e-05/0.2873, allocations: 43.97 kB / 411.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001889/0.2875, allocations: 197.5 kB / 411.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.2878, allocations: 146.9 kB / 411.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.2879, allocations: 84.81 kB / 411.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.288, allocations: 8 kB / 411.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.288, allocations: 30.56 kB / 411.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.288, allocations: 0 / 411.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003339/0.2883, allocations: 177.7 kB / 411.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.2884, allocations: 66.92 kB / 412 MB, free: 14.12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.2886, allocations: 165.2 kB / 412.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.2886, allocations: 25.7 kB / 412.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.2887, allocations: 100.4 kB / 412.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.2887, allocations: 15.94 kB / 412.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.2888, allocations: 37.7 kB / 412.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.2889, allocations: 322.8 kB / 412.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.126e-05/0.289, allocations: 19.98 kB / 412.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.2891, allocations: 125.7 kB / 412.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.2893, allocations: 149.5 kB / 412.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.2893, allocations: 4 kB / 412.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002315/0.2895, allocations: 161.4 kB / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.2895, allocations: 7.938 kB / 413.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2895, allocations: 4 kB / 413.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.2896, allocations: 4 kB / 413.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.2897, allocations: 39.92 kB / 413.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.2897, allocations: 7.938 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.924e-05/0.2898, allocations: 11.89 kB / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.2898, allocations: 8.406 kB / 413.2 MB, free: 12.8 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 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,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.0001512/0.2899, allocations: 149.8 kB / 413.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.2901, allocations: 141.4 kB / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.843e-05/0.2902, allocations: 21.19 kB / 413.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.2902, allocations: 4 kB / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2902, allocations: 0 / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.2903, allocations: 3.984 kB / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.2904, allocations: 189.6 kB / 413.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2904, allocations: 4 kB / 413.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.2906, allocations: 27.92 kB / 413.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.2906, allocations: 3.938 kB / 413.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.2906, allocations: 11.94 kB / 413.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.2906, allocations: 7.938 kB / 413.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2906, allocations: 0 / 413.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.2908, allocations: 161 kB / 413.9 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-05/0.2909, allocations: 104.9 kB / 414 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.291, allocations: 11.94 kB / 414 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.346e-05/0.291, allocations: 8 kB / 414 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-06/0.291, allocations: 0 / 414 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.291, allocations: 4 kB / 414 MB, free: 11.85 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.2911, allocations: 114.3 kB / 414.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2912, allocations: 0 / 414.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.2914, allocations: 24 kB / 414.1 MB, free: 11.72 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,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 (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.0007543/0.2922, allocations: 0.7762 MB / 414.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.2924, allocations: 103.5 kB / 415 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2924, allocations: 4 kB / 415 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.2924, allocations: 4.125 kB / 415 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.2928, allocations: 98.03 kB / 415.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.2946, allocations: 1.7 MB / 416.8 MB, free: 8.852 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.2951, allocations: 0.7277 MB / 417.6 MB, free: 8.098 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.969e-05/0.2951, allocations: 13.08 kB / 417.6 MB, free: 8.086 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.2952, allocations: 31.42 kB / 417.6 MB, free: 8.055 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2952, allocations: 0 / 417.6 MB, free: 8.055 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.3207, allocations: 2.62 MB / 420.2 MB, free: 5.57 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.898/8.219, allocations: 6.875 kB / 420.2 MB, free: 5.566 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches