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.001789/0.001789, allocations: 120.1 kB / 18.49 MB, free: 4.566 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.002014/0.002014, allocations: 218.2 kB / 21.46 MB, free: 1.613 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.629/1.629, allocations: 230.4 MB / 254.7 MB, free: 15.03 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 63.91 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1234, allocations: 53.37 MB / 427.1 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002804/0.1262, allocations: 0.8999 MB / 428 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004587/0.1267, allocations: 147.5 kB / 428.1 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.1268, allocations: 4 kB / 428.1 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.1269, allocations: 11.86 kB / 428.1 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.1271, allocations: 19.81 kB / 428.1 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.1273, allocations: 43.89 kB / 428.2 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.1274, allocations: 67.83 kB / 428.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.1276, allocations: 27.98 kB / 428.3 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.564e-05/0.1276, allocations: 31.86 kB / 428.3 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1277, allocations: 43.77 kB / 428.3 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.1278, allocations: 4 kB / 428.4 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.812e-05/0.1278, allocations: 8 kB / 428.4 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.709e-05/0.1279, allocations: 31.91 kB / 428.4 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.543e-05/0.1279, allocations: 43.67 kB / 428.4 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.1281, allocations: 95.45 kB / 428.5 MB, free: 3.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.1281, allocations: 8 kB / 428.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1281, allocations: 3.938 kB / 428.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1281, allocations: 3.938 kB / 428.5 MB, free: 3.137 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.0006929/0.1288, allocations: 410.9 kB / 428.9 MB, free: 2.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.1289, allocations: 12.03 kB / 429 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.751e-05/0.1289, allocations: 4.188 kB / 429 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.546e-05/0.1289, allocations: 42.75 kB / 429 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.129, allocations: 16.84 kB / 429 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.1293, allocations: 220 kB / 429.2 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1293, allocations: 8.375 kB / 429.2 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.1293, allocations: 4.375 kB / 429.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004592/0.1298, allocations: 245.8 kB / 429.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1298, allocations: 3.938 kB / 429.5 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1298, allocations: 4 kB / 429.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1298, allocations: 0 / 429.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.567e-05/0.1299, allocations: 51.95 kB / 429.5 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002075/0.1301, allocations: 193.5 kB / 429.7 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.1303, allocations: 139 kB / 429.9 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.1305, allocations: 82.48 kB / 429.9 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.1305, allocations: 0 / 429.9 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.1305, allocations: 42.5 kB / 430 MB, free: 1.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.143e-06/0.1305, allocations: 0 / 430 MB, free: 1.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003415/0.1309, allocations: 169.8 kB / 430.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.1309, allocations: 60.95 kB / 430.2 MB, free: 1.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.1311, allocations: 170.2 kB / 430.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.1311, allocations: 25.7 kB / 430.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.1312, allocations: 92.47 kB / 430.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.1312, allocations: 15.88 kB / 430.5 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/0.1312, allocations: 41.7 kB / 430.6 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1314, allocations: 322.8 kB / 430.9 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.285e-05/0.1314, allocations: 23.98 kB / 430.9 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.1316, allocations: 113.7 kB / 431 MB, free: 404 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.1318, allocations: 161.5 kB / 431.2 MB, free: 192 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.1318, allocations: 0 / 431.2 MB, free: 192 kB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000245/0.132, allocations: 157.3 kB / 431.3 MB, free: 28 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.132, allocations: 11.94 kB / 431.3 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.132, allocations: 4 kB / 431.3 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.1321, allocations: 4 kB / 431.3 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.1322, allocations: 32.42 kB / 431.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.1322, allocations: 15.94 kB / 431.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.724e-05/0.1323, allocations: 15.89 kB / 431.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1323, allocations: 11.94 kB / 431.4 MB, free: 15.93 MB / 366.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.0001388/0.1324, allocations: 137.8 kB / 431.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.1326, allocations: 141.4 kB / 431.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.456e-05/0.1327, allocations: 25.17 kB / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1327, allocations: 0 / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1327, allocations: 4 kB / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1327, allocations: 0 / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.1329, allocations: 189.6 kB / 431.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1329, allocations: 0 / 431.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.133, allocations: 27.98 kB / 431.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/0.133, allocations: 7.938 kB / 431.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.133, allocations: 4 kB / 431.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.133, allocations: 7.984 kB / 431.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.133, allocations: 7.875 kB / 431.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.1333, allocations: 166.5 kB / 432.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.657e-05/0.1334, allocations: 112.9 kB / 432.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.1334, allocations: 0 / 432.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.355e-05/0.1335, allocations: 4 kB / 432.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-06/0.1335, allocations: 4 kB / 432.2 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.1335, allocations: 0 / 432.2 MB, free: 15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.1336, allocations: 127.9 kB / 432.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1336, allocations: 0 / 432.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002377/0.1338, allocations: 16 kB / 432.4 MB, free: 14.86 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.0007117/0.1345, allocations: 0.7755 MB / 433.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.1348, allocations: 100.5 kB / 433.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1348, allocations: 4 kB / 433.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/0.1348, allocations: 0 / 433.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.1352, allocations: 85.88 kB / 433.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.137, allocations: 1.717 MB / 435 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.1374, allocations: 0.7278 MB / 435.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.825e-05/0.1374, allocations: 5.094 kB / 435.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.032e-05/0.1375, allocations: 31.42 kB / 435.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1375, allocations: 0 / 435.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.1589, allocations: 2.673 MB / 438.5 MB, free: 8.684 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/8.151, allocations: 14.42 kB / 438.5 MB, free: 8.672 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/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) [Timeout 660] "" [Timeout remaining time 660] "" 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.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 [Calling sys.exit(0), Time elapsed: 11.294241932977457]