Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 123 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 51.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1085, allocations: 53.33 MB / 426.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002715/0.1112, allocations: 1.034 MB / 427.4 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004128/0.1116, allocations: 131.6 kB / 427.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.403e-05/0.1117, allocations: 7.938 kB / 427.5 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.1118, allocations: 15.86 kB / 427.5 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.1119, allocations: 11.88 kB / 427.5 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.1121, allocations: 47.88 kB / 427.6 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.1123, allocations: 67.78 kB / 427.6 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.1124, allocations: 35.95 kB / 427.7 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.271e-05/0.1125, allocations: 27.86 kB / 427.7 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.766e-05/0.1125, allocations: 35.78 kB / 427.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.1126, allocations: 4 kB / 427.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.643e-05/0.1126, allocations: 12 kB / 427.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.537e-05/0.1127, allocations: 23.92 kB / 427.8 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.387e-05/0.1127, allocations: 43.67 kB / 427.8 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.1129, allocations: 87.52 kB / 427.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1129, allocations: 0 / 427.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1129, allocations: 0 / 427.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1129, allocations: 0 / 427.9 MB, free: 3.199 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.0006208/0.1135, allocations: 402.9 kB / 428.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.1136, allocations: 12.03 kB / 428.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.144e-05/0.1136, allocations: 42.75 kB / 428.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.1136, allocations: 16.84 kB / 428.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.1139, allocations: 208.7 kB / 428.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.1139, allocations: 12.31 kB / 428.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.114, allocations: 4.375 kB / 428.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004493/0.1144, allocations: 220.3 kB / 428.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1144, allocations: 0 / 428.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1144, allocations: 4 kB / 428.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.1144, allocations: 4 kB / 428.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.516e-05/0.1145, allocations: 35.91 kB / 428.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002197/0.1147, allocations: 193.6 kB / 429 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.115, allocations: 119 kB / 429.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.1151, allocations: 75.16 kB / 429.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.1151, allocations: 3.938 kB / 429.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.1151, allocations: 34.56 kB / 429.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 3.056e-06/0.1151, allocations: 3.984 kB / 429.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.000298/0.1154, allocations: 153.5 kB / 429.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.1155, allocations: 67.33 kB / 429.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.1156, allocations: 144.5 kB / 429.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.1157, allocations: 25.7 kB / 429.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.1157, allocations: 92.45 kB / 429.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.1157, allocations: 8 kB / 429.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/0.1158, allocations: 37.66 kB / 429.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.116, allocations: 322.8 kB / 430.1 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.683e-05/0.116, allocations: 27.98 kB / 430.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.1161, allocations: 117.7 kB / 430.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.1163, allocations: 149.5 kB / 430.4 MB, free: 388 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.1163, allocations: 3.938 kB / 430.4 MB, free: 384 kB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002202/0.1165, allocations: 157.2 kB / 430.5 MB, free: 220 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1165, allocations: 6.688 kB / 430.5 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1165, allocations: 8 kB / 430.6 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.1165, allocations: 8 kB / 430.6 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.1166, allocations: 31.92 kB / 430.6 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.1167, allocations: 4 kB / 430.6 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.542e-05/0.1167, allocations: 11.89 kB / 430.6 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.1167, allocations: 12 kB / 430.6 MB, free: 140 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: 0 () * 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.0001415/0.1169, allocations: 141.7 kB / 430.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.117, allocations: 119.2 kB / 430.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.1171, allocations: 13.19 kB / 430.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.1171, allocations: 8 kB / 430.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1171, allocations: 0 / 430.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1171, allocations: 0 / 430.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.1173, allocations: 193.5 kB / 431.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1173, allocations: 0 / 431.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.1174, allocations: 31.92 kB / 431.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1174, allocations: 0 / 431.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.1174, allocations: 0 / 431.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.1174, allocations: 4 kB / 431.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1174, allocations: 3.938 kB / 431.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.1176, allocations: 159.4 kB / 431.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.662e-05/0.1177, allocations: 101 kB / 431.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.1177, allocations: 8 kB / 431.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.602e-05/0.1177, allocations: 4 kB / 431.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.923e-06/0.1177, allocations: 0 / 431.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.1177, allocations: 4 kB / 431.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.1178, allocations: 110.6 kB / 431.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1178, allocations: 4 kB / 431.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002263/0.1181, allocations: 23.94 kB / 431.5 MB, free: 15.13 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: 0 () * 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.0006912/0.1188, allocations: 0.7261 MB / 432.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.1189, allocations: 100.7 kB / 432.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1189, allocations: 0 / 432.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.21e-07/0.1189, allocations: 0 / 432.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.1194, allocations: 75.92 kB / 432.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.121, allocations: 1.672 MB / 434.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.1214, allocations: 0.7161 MB / 434.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.025e-05/0.1215, allocations: 12.64 kB / 434.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.781e-05/0.1215, allocations: 23.44 kB / 434.9 MB, free: 11.58 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1215, allocations: 0 / 434.9 MB, free: 11.58 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.1469, allocations: 2.483 MB / 437.3 MB, free: 9.238 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.566/7.713, allocations: 17.39 kB / 437.4 MB, free: 9.227 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.237767274025828]