Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 182.9 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 43.92 kB / 370.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2613, allocations: 52.18 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002501/0.2638, allocations: 0.9382 MB / 423.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004177/0.2642, allocations: 143.6 kB / 423.7 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.484e-05/0.2643, allocations: 3.938 kB / 423.7 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.2644, allocations: 11.86 kB / 423.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.2645, allocations: 19.86 kB / 423.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.2647, allocations: 47.89 kB / 423.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.2649, allocations: 67.77 kB / 423.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.265, allocations: 27.98 kB / 423.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.41e-05/0.265, allocations: 35.84 kB / 423.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.974e-05/0.2651, allocations: 43.78 kB / 424 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.2652, allocations: 4 kB / 424 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.355e-05/0.2652, allocations: 4 kB / 424 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.177e-05/0.2652, allocations: 31.91 kB / 424 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.2653, allocations: 39.69 kB / 424 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.2655, allocations: 103.9 kB / 424.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2655, allocations: 0 / 424.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2655, allocations: 0 / 424.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.2655, allocations: 0 / 424.1 MB, free: 13.1 MB / 334.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.000518/0.266, allocations: 341.8 kB / 424.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.266, allocations: 8.031 kB / 424.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.026e-05/0.2661, allocations: 46.67 kB / 424.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.2661, allocations: 16.84 kB / 424.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.2663, allocations: 150.3 kB / 424.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.2663, allocations: 8.375 kB / 424.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.2664, allocations: 8.375 kB / 424.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004031/0.2668, allocations: 230.2 kB / 424.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2668, allocations: 3.938 kB / 424.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.2668, allocations: 4 kB / 424.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2668, allocations: 0 / 424.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.805e-05/0.2669, allocations: 59.89 kB / 425 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.267, allocations: 160.6 kB / 425.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.2673, allocations: 143 kB / 425.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.2674, allocations: 80.8 kB / 425.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.2674, allocations: 4 kB / 425.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.2674, allocations: 34.5 kB / 425.4 MB, free: 11.69 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.2674, allocations: 4 kB / 425.4 MB, free: 11.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003157/0.2678, allocations: 177.7 kB / 425.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.2678, allocations: 63.34 kB / 425.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.268, allocations: 165.6 kB / 425.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.268, allocations: 29.7 kB / 425.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.2681, allocations: 92.47 kB / 425.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.2681, allocations: 11.98 kB / 425.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.2681, allocations: 41.66 kB / 426 MB, free: 11.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2683, allocations: 326.8 kB / 426.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.11e-05/0.2683, allocations: 19.98 kB / 426.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.2684, allocations: 125 kB / 426.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.2686, allocations: 157.5 kB / 426.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2686, allocations: 0 / 426.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002246/0.2688, allocations: 157.6 kB / 426.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.2689, allocations: 16.03 kB / 426.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2689, allocations: 4 kB / 426.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.2689, allocations: 4 kB / 426.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.269, allocations: 35.92 kB / 426.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.269, allocations: 4 kB / 426.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.2691, allocations: 15.89 kB / 426.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.2691, allocations: 8 kB / 426.8 MB, free: 10.11 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.0001318/0.2692, allocations: 145.8 kB / 427 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.2694, allocations: 145.2 kB / 427.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.5e-05/0.2694, allocations: 17.12 kB / 427.1 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.2695, allocations: 3.984 kB / 427.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2695, allocations: 0 / 427.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2695, allocations: 4 kB / 427.1 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.2696, allocations: 160.6 kB / 427.3 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.2696, allocations: 4 kB / 427.3 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.2697, allocations: 27.92 kB / 427.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.2697, allocations: 3.938 kB / 427.3 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.2697, allocations: 8 kB / 427.3 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2697, allocations: 0 / 427.3 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2697, allocations: 7.922 kB / 427.3 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.27, allocations: 168.9 kB / 427.5 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.331e-05/0.27, allocations: 31.77 kB / 427.5 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.2701, allocations: 11.94 kB / 427.6 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.241e-05/0.2701, allocations: 4 kB / 427.6 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-06/0.2701, allocations: 0 / 427.6 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.2701, allocations: 8 kB / 427.6 MB, free: 9.301 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.655e-05/0.2702, allocations: 111.2 kB / 427.7 MB, free: 9.191 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2702, allocations: 0 / 427.7 MB, free: 9.191 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.2704, allocations: 20 kB / 427.7 MB, free: 9.172 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.0006546/0.2711, allocations: 0.7724 MB / 428.5 MB, free: 8.371 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.2713, allocations: 95.77 kB / 428.6 MB, free: 8.277 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2713, allocations: 0 / 428.6 MB, free: 8.277 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.2713, allocations: 0 / 428.6 MB, free: 8.277 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.2716, allocations: 96.2 kB / 428.7 MB, free: 8.188 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.2734, allocations: 1.721 MB / 430.4 MB, free: 6.289 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.2737, allocations: 0.7201 MB / 431.1 MB, free: 5.543 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.23e-05/0.2738, allocations: 9.078 kB / 431.1 MB, free: 5.531 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.28e-05/0.2738, allocations: 27.42 kB / 431.1 MB, free: 5.504 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2738, allocations: 4 kB / 431.1 MB, free: 5.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0308/0.3046, allocations: 2.821 MB / 434 MB, free: 2.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.04, allocations: 7.938 kB / 434 MB, free: 2.812 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 13.399537706980482]