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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001797/0.001797, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001464/0.001464, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.447/1.447, allocations: 230.2 MB / 254.5 MB, free: 15.43 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 64.08 kB / 373.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1038, allocations: 53.33 MB / 426.7 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002168/0.1059, allocations: 0.9037 MB / 427.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003749/0.1063, allocations: 147.5 kB / 427.7 MB, free: 4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.285e-05/0.1064, allocations: 0 / 427.7 MB, free: 4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.1065, allocations: 11.86 kB / 427.7 MB, free: 3.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.1066, allocations: 11.88 kB / 427.7 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.1068, allocations: 63.81 kB / 427.8 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.1069, allocations: 51.91 kB / 427.8 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.1071, allocations: 35.97 kB / 427.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.148e-05/0.1071, allocations: 31.8 kB / 427.9 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.954e-05/0.1072, allocations: 39.78 kB / 428 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.1072, allocations: 8 kB / 428 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/0.1072, allocations: 4 kB / 428 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.1073, allocations: 31.91 kB / 428 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.033e-05/0.1073, allocations: 47.66 kB / 428 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.1075, allocations: 99.52 kB / 428.1 MB, free: 3.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1075, allocations: 0 / 428.1 MB, free: 3.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1075, allocations: 0 / 428.1 MB, free: 3.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.1075, allocations: 3.938 kB / 428.1 MB, free: 3.566 MB / 350.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.0005363/0.108, allocations: 410.9 kB / 428.5 MB, free: 3.113 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.1081, allocations: 15.97 kB / 428.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.369e-05/0.1081, allocations: 38.75 kB / 428.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.1081, allocations: 12.84 kB / 428.6 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.1084, allocations: 220.1 kB / 428.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1084, allocations: 4.375 kB / 428.8 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.1084, allocations: 8.375 kB / 428.8 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003992/0.1088, allocations: 241.9 kB / 429.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1088, allocations: 11.92 kB / 429.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1088, allocations: 4 kB / 429.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1088, allocations: 4 kB / 429.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.13e-05/0.1089, allocations: 43.97 kB / 429.1 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.1091, allocations: 189.6 kB / 429.3 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.1093, allocations: 146.8 kB / 429.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.1095, allocations: 77.61 kB / 429.5 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.1095, allocations: 0 / 429.5 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.1095, allocations: 34.5 kB / 429.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 9.92e-07/0.1095, allocations: 4 kB / 429.6 MB, free: 1.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003104/0.1098, allocations: 179.2 kB / 429.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.1099, allocations: 63.39 kB / 429.8 MB, free: 1.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.11, allocations: 162.2 kB / 430 MB, free: 1.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.11, allocations: 29.7 kB / 430 MB, free: 1.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/0.1101, allocations: 92.45 kB / 430.1 MB, free: 1.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.1101, allocations: 15.89 kB / 430.1 MB, free: 1.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.1102, allocations: 41.7 kB / 430.1 MB, free: 1.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1103, allocations: 318.8 kB / 430.5 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.691e-05/0.1103, allocations: 23.98 kB / 430.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.1105, allocations: 123.5 kB / 430.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.1106, allocations: 153.5 kB / 430.8 MB, free: 0.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1106, allocations: 4 kB / 430.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002119/0.1108, allocations: 161.2 kB / 430.9 MB, free: 468 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1108, allocations: 11.94 kB / 430.9 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1109, allocations: 4 kB / 430.9 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1109, allocations: 4 kB / 430.9 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.111, allocations: 35.92 kB / 431 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.111, allocations: 4.5 kB / 431 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.827e-05/0.1111, allocations: 19.89 kB / 431 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.1111, allocations: 8 kB / 431 MB, free: 380 kB / 350.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.0001206/0.1112, allocations: 145.8 kB / 431.1 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.1114, allocations: 141.4 kB / 431.3 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.661e-05/0.1114, allocations: 21.17 kB / 431.3 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1114, allocations: 4 kB / 431.3 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1114, allocations: 0 / 431.3 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1114, allocations: 4 kB / 431.3 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.1116, allocations: 189.6 kB / 431.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1116, allocations: 0 / 431.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.1117, allocations: 35.86 kB / 431.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1117, allocations: 3.938 kB / 431.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1117, allocations: 4 kB / 431.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1117, allocations: 0 / 431.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1117, allocations: 0 / 431.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.1119, allocations: 166.7 kB / 431.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.239e-05/0.112, allocations: 108.9 kB / 431.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.112, allocations: 15.88 kB / 431.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.025e-05/0.112, allocations: 4 kB / 431.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-06/0.1121, allocations: 3.984 kB / 431.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.1121, allocations: 4 kB / 431.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.557e-05/0.1121, allocations: 119.9 kB / 432 MB, free: 15.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1121, allocations: 0 / 432 MB, free: 15.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002199/0.1124, allocations: 20 kB / 432 MB, free: 15.29 MB / 366.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.0006353/0.113, allocations: 0.7724 MB / 432.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.1132, allocations: 98.17 kB / 432.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1132, allocations: 4.062 kB / 432.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.1132, allocations: 0 / 432.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.1136, allocations: 87.92 kB / 432.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.1151, allocations: 1.724 MB / 434.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.1155, allocations: 0.7239 MB / 435.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.111e-05/0.1155, allocations: 13.09 kB / 435.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/0.1156, allocations: 27.42 kB / 435.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1156, allocations: 0 / 435.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.1421, allocations: 2.631 MB / 438 MB, free: 9.133 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/7.81, allocations: 6.328 kB / 438.1 MB, free: 9.129 MB / 366.1 MB " [Timeout remaining time 652] (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 --stepSize=1.79641e-05 --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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 10.413917121943086]