Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001231/0.001231, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001434/0.001434, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.382/1.382, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 47.92 kB / 378.5 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2648, allocations: 53.36 MB / 431.9 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002283/0.267, allocations: 0.9086 MB / 432.8 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003796/0.2674, allocations: 147.5 kB / 432.9 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.478e-05/0.2675, allocations: 7.938 kB / 432.9 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.2676, allocations: 11.86 kB / 432.9 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.2677, allocations: 15.88 kB / 432.9 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.268, allocations: 43.94 kB / 433 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.2681, allocations: 67.78 kB / 433 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.2682, allocations: 26.09 kB / 433.1 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.285e-05/0.2683, allocations: 31.84 kB / 433.1 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.364e-05/0.2684, allocations: 43.78 kB / 433.1 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.2684, allocations: 4 kB / 433.2 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.615e-05/0.2684, allocations: 12 kB / 433.2 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.416e-05/0.2685, allocations: 35.84 kB / 433.2 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.135e-05/0.2685, allocations: 27.8 kB / 433.2 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.2687, allocations: 99.45 kB / 433.3 MB, free: 5.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2687, allocations: 0 / 433.3 MB, free: 5.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2687, allocations: 0 / 433.3 MB, free: 5.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.2687, allocations: 0 / 433.3 MB, free: 5.215 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.00053/0.2692, allocations: 337.8 kB / 433.7 MB, free: 4.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.2693, allocations: 8.031 kB / 433.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.732e-05/0.2693, allocations: 8.188 kB / 433.7 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.351e-05/0.2693, allocations: 42.69 kB / 433.7 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.2694, allocations: 20.84 kB / 433.7 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.2696, allocations: 154.3 kB / 433.9 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.2696, allocations: 8.375 kB / 433.9 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.2696, allocations: 4.375 kB / 433.9 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004382/0.2701, allocations: 253.8 kB / 434.1 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2701, allocations: 4 kB / 434.1 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.2701, allocations: 0 / 434.1 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.2701, allocations: 4 kB / 434.1 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.213e-05/0.2702, allocations: 43.97 kB / 434.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.2703, allocations: 156.6 kB / 434.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.2706, allocations: 142.9 kB / 434.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.2707, allocations: 80.19 kB / 434.6 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.2707, allocations: 4 kB / 434.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.2708, allocations: 46.38 kB / 434.6 MB, free: 3.789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 2.786e-06/0.2708, allocations: 4 kB / 434.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003212/0.2711, allocations: 169.8 kB / 434.8 MB, free: 3.613 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.2711, allocations: 59.41 kB / 434.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.2713, allocations: 175.4 kB / 435 MB, free: 3.367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.2713, allocations: 25.7 kB / 435 MB, free: 3.336 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.802e-05/0.2714, allocations: 92.47 kB / 435.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.2714, allocations: 11.94 kB / 435.1 MB, free: 3.227 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.2714, allocations: 41.7 kB / 435.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2716, allocations: 322.8 kB / 435.5 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.415e-05/0.2717, allocations: 23.98 kB / 435.5 MB, free: 2.832 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.2718, allocations: 120.5 kB / 435.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.272, allocations: 153.5 kB / 435.8 MB, free: 2.469 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.272, allocations: 4 kB / 435.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000228/0.2722, allocations: 169.5 kB / 436 MB, free: 2.293 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.2722, allocations: 11.94 kB / 436 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2722, allocations: 0 / 436 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.2722, allocations: 8 kB / 436 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.2724, allocations: 35.91 kB / 436 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.2724, allocations: 4 kB / 436 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.845e-05/0.2724, allocations: 15.94 kB / 436 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.2724, allocations: 8 kB / 436 MB, free: 2.211 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.0001279/0.2726, allocations: 149.9 kB / 436.2 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.2727, allocations: 141.4 kB / 436.3 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.2728, allocations: 17.12 kB / 436.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2728, allocations: 0 / 436.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.2728, allocations: 0 / 436.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2728, allocations: 3.984 kB / 436.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.2729, allocations: 152.7 kB / 436.5 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2729, allocations: 0 / 436.5 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.273, allocations: 35.86 kB / 436.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.273, allocations: 3.938 kB / 436.5 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.2731, allocations: 4 kB / 436.5 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2731, allocations: 4 kB / 436.5 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2731, allocations: 4 kB / 436.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.2733, allocations: 168.1 kB / 436.7 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.387e-05/0.2733, allocations: 39.77 kB / 436.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.2733, allocations: 0 / 436.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.122e-05/0.2734, allocations: 4 kB / 436.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-06/0.2734, allocations: 4 kB / 436.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.2734, allocations: 0 / 436.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.55e-05/0.2735, allocations: 123.2 kB / 436.9 MB, free: 1.301 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2735, allocations: 3.938 kB / 436.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.2737, allocations: 20 kB / 436.9 MB, free: 1.277 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.0006226/0.2743, allocations: 0.7724 MB / 437.7 MB, free: 488 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.2745, allocations: 104.6 kB / 437.8 MB, free: 384 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2745, allocations: 4 kB / 437.8 MB, free: 380 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.2745, allocations: 128 / 437.8 MB, free: 380 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.2749, allocations: 89.92 kB / 437.9 MB, free: 292 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.2765, allocations: 1.724 MB / 439.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.873e-05/0.2766, allocations: 109 kB / 439.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.644e-05/0.2767, allocations: 9.078 kB / 439.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.2767, allocations: 31.44 kB / 439.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2767, allocations: 0 / 439.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.2999, allocations: 2.907 MB / 442.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.68, allocations: 4.062 kB / 442.6 MB, free: 11.47 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 13.111402073060162]