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.001597/0.001597, allocations: 108.6 kB / 21.22 MB, free: 0.7266 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.00132/0.00132, allocations: 187.5 kB / 24.51 MB, free: 4.078 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.344/1.344, allocations: 225.6 MB / 253.3 MB, free: 13.04 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 47.92 kB / 371.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2414, allocations: 52.18 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002155/0.2436, allocations: 0.9344 MB / 424.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003667/0.2439, allocations: 147.6 kB / 424.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.868e-05/0.244, allocations: 7.938 kB / 424.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.2441, allocations: 11.86 kB / 424.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.2442, allocations: 7.938 kB / 424.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.2445, allocations: 51.88 kB / 424.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.2446, allocations: 71.72 kB / 424.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.2447, allocations: 27.98 kB / 424.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.965e-05/0.2448, allocations: 27.86 kB / 424.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.961e-05/0.2449, allocations: 39.83 kB / 424.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.2449, allocations: 4 kB / 424.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.476e-05/0.2449, allocations: 8 kB / 424.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.347e-05/0.245, allocations: 35.84 kB / 424.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.179e-05/0.245, allocations: 43.67 kB / 424.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.2452, allocations: 100.3 kB / 424.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2452, allocations: 0 / 424.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2452, allocations: 0 / 424.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.2452, allocations: 4 kB / 424.9 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.0005379/0.2457, allocations: 337.8 kB / 425.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.2458, allocations: 12.03 kB / 425.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.799e-05/0.2458, allocations: 192 / 425.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.2458, allocations: 42.75 kB / 425.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.2459, allocations: 16.84 kB / 425.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.2461, allocations: 154.2 kB / 425.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.2461, allocations: 12.38 kB / 425.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.2461, allocations: 8.375 kB / 425.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004102/0.2465, allocations: 238 kB / 425.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2465, allocations: 0 / 425.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.2465, allocations: 0 / 425.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2465, allocations: 11.88 kB / 425.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.34e-05/0.2466, allocations: 47.97 kB / 425.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.2468, allocations: 168.6 kB / 425.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.247, allocations: 138.9 kB / 426.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.2471, allocations: 80.83 kB / 426.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-06/0.2472, allocations: 4 kB / 426.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.2472, allocations: 38.48 kB / 426.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.2472, allocations: 0 / 426.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002995/0.2475, allocations: 173.7 kB / 426.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.2475, allocations: 67.06 kB / 426.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.2477, allocations: 161.7 kB / 426.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.2477, allocations: 29.7 kB / 426.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/0.2478, allocations: 100.5 kB / 426.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.2478, allocations: 4 kB / 426.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.2478, allocations: 41.66 kB / 426.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.248, allocations: 326.8 kB / 427.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.625e-05/0.248, allocations: 19.98 kB / 427.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.2481, allocations: 128.9 kB / 427.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.2483, allocations: 149.5 kB / 427.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.2483, allocations: 0 / 427.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002177/0.2485, allocations: 157.3 kB / 427.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.2485, allocations: 15.88 kB / 427.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.2485, allocations: 8 kB / 427.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.2486, allocations: 4 kB / 427.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.2487, allocations: 31.98 kB / 427.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.2487, allocations: 15.86 kB / 427.6 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.229e-05/0.2487, allocations: 16.36 kB / 427.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.2488, allocations: 12 kB / 427.6 MB, free: 10.1 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.000125/0.2489, allocations: 141.8 kB / 427.8 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.2491, allocations: 141.4 kB / 427.9 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.502e-05/0.2491, allocations: 17.12 kB / 427.9 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2491, allocations: 0 / 427.9 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.2491, allocations: 4 kB / 427.9 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.2491, allocations: 0 / 427.9 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.2492, allocations: 160.7 kB / 428.1 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2492, allocations: 0 / 428.1 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.2494, allocations: 35.91 kB / 428.1 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.2494, allocations: 3.938 kB / 428.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.2494, allocations: 4 kB / 428.1 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2494, allocations: 3.938 kB / 428.1 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2494, allocations: 0 / 428.1 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.2496, allocations: 164.9 kB / 428.3 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.2496, allocations: 31.77 kB / 428.3 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.2497, allocations: 12 kB / 428.3 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.852e-05/0.2497, allocations: 0 / 428.3 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-06/0.2497, allocations: 3.984 kB / 428.3 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.2497, allocations: 4 kB / 428.3 MB, free: 9.309 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.042e-05/0.2498, allocations: 115.2 kB / 428.5 MB, free: 9.195 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2498, allocations: 4 kB / 428.5 MB, free: 9.191 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.25, allocations: 16 kB / 428.5 MB, free: 9.176 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.0006309/0.2507, allocations: 0.7685 MB / 429.2 MB, free: 8.379 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.2508, allocations: 107.9 kB / 429.4 MB, free: 8.277 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2508, allocations: 256 / 429.4 MB, free: 8.277 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.2508, allocations: 7.938 kB / 429.4 MB, free: 8.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.2512, allocations: 83.92 kB / 429.4 MB, free: 8.188 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.2529, allocations: 1.728 MB / 431.2 MB, free: 6.285 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.2533, allocations: 0.7123 MB / 431.9 MB, free: 5.547 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.439e-05/0.2533, allocations: 17.08 kB / 431.9 MB, free: 5.527 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.849e-05/0.2534, allocations: 35.42 kB / 431.9 MB, free: 5.492 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2534, allocations: 0 / 431.9 MB, free: 5.492 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02284/0.2762, allocations: 2.845 MB / 434.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.8, allocations: 15.73 kB / 434.8 MB, free: 2.785 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] "" 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.232972389028873]