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.001648/0.001648, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001761/0.001761, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.404/1.404, allocations: 230.6 MB / 257.5 MB, free: 7.812 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 47.92 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2378, allocations: 53.37 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002252/0.2401, allocations: 0.9109 MB / 432 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003862/0.2405, allocations: 147.5 kB / 432.1 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.211e-05/0.2405, allocations: 0 / 432.1 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.907e-05/0.2406, allocations: 15.86 kB / 432.1 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.2408, allocations: 15.86 kB / 432.2 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.241, allocations: 47.89 kB / 432.2 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.2411, allocations: 71.77 kB / 432.3 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.2412, allocations: 23.98 kB / 432.3 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.542e-05/0.2413, allocations: 31.86 kB / 432.3 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.878e-05/0.2414, allocations: 39.77 kB / 432.4 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.2414, allocations: 4 kB / 432.4 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.773e-05/0.2414, allocations: 8 kB / 432.4 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.66e-05/0.2415, allocations: 27.91 kB / 432.4 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.286e-05/0.2415, allocations: 35.75 kB / 432.4 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.2417, allocations: 101.1 kB / 432.5 MB, free: 5.172 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2417, allocations: 4 kB / 432.6 MB, free: 5.168 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2417, allocations: 7.938 kB / 432.6 MB, free: 5.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.2417, allocations: 0 / 432.6 MB, free: 5.16 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.0005272/0.2422, allocations: 333.8 kB / 432.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.2423, allocations: 12.03 kB / 432.9 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.814e-05/0.2423, allocations: 46.73 kB / 432.9 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.2423, allocations: 12.84 kB / 433 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.2426, allocations: 154.3 kB / 433.1 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.2426, allocations: 4.375 kB / 433.1 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.2426, allocations: 8.375 kB / 433.1 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004357/0.2431, allocations: 239.4 kB / 433.4 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2431, allocations: 3.938 kB / 433.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.2431, allocations: 4 kB / 433.4 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.2431, allocations: 7.938 kB / 433.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.942e-05/0.2432, allocations: 51.89 kB / 433.4 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/0.2433, allocations: 156.6 kB / 433.6 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.2436, allocations: 139 kB / 433.7 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.2437, allocations: 84.8 kB / 433.8 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.2437, allocations: 4 kB / 433.8 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.2438, allocations: 30.56 kB / 433.8 MB, free: 3.754 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.2438, allocations: 0 / 433.8 MB, free: 3.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003286/0.2441, allocations: 185.2 kB / 434 MB, free: 3.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.2441, allocations: 63.34 kB / 434.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.2443, allocations: 163.8 kB / 434.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.2443, allocations: 25.7 kB / 434.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/0.2444, allocations: 96.45 kB / 434.3 MB, free: 3.195 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.2444, allocations: 11.95 kB / 434.4 MB, free: 3.184 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.2444, allocations: 41.7 kB / 434.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2446, allocations: 322.8 kB / 434.7 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.767e-05/0.2446, allocations: 19.98 kB / 434.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.2447, allocations: 121.7 kB / 434.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.2449, allocations: 149.5 kB / 435 MB, free: 2.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.2449, allocations: 4 kB / 435 MB, free: 2.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002199/0.2451, allocations: 157.3 kB / 435.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.2451, allocations: 11.94 kB / 435.2 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.2452, allocations: 0 / 435.2 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.2452, allocations: 11.98 kB / 435.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.2453, allocations: 32.44 kB / 435.2 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.2453, allocations: 15.92 kB / 435.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.26e-05/0.2454, allocations: 15.89 kB / 435.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.2454, allocations: 11.94 kB / 435.3 MB, free: 2.168 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.0001329/0.2455, allocations: 145.8 kB / 435.4 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.2457, allocations: 149.4 kB / 435.5 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.131e-05/0.2458, allocations: 21.12 kB / 435.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2458, allocations: 0 / 435.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2458, allocations: 0 / 435.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2458, allocations: 4 kB / 435.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.2459, allocations: 152.7 kB / 435.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2459, allocations: 0 / 435.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.246, allocations: 31.98 kB / 435.7 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.246, allocations: 3.938 kB / 435.7 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.246, allocations: 0 / 435.7 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.246, allocations: 4 kB / 435.8 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.246, allocations: 0 / 435.8 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.2462, allocations: 168.9 kB / 435.9 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-05/0.2463, allocations: 31.83 kB / 435.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.2463, allocations: 7.938 kB / 436 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.894e-05/0.2464, allocations: 4 kB / 436 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-06/0.2464, allocations: 4 kB / 436 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-06/0.2464, allocations: 4 kB / 436 MB, free: 1.375 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.7e-05/0.2464, allocations: 118.9 kB / 436.1 MB, free: 1.262 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2464, allocations: 0 / 436.1 MB, free: 1.262 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002246/0.2467, allocations: 16 kB / 436.1 MB, free: 1.246 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.0006289/0.2473, allocations: 0.7749 MB / 436.9 MB, free: 456 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.2475, allocations: 99.83 kB / 437 MB, free: 356 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.2475, allocations: 4 kB / 437 MB, free: 352 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.2475, allocations: 3.938 kB / 437 MB, free: 348 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.2478, allocations: 83.91 kB / 437.1 MB, free: 264 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.2495, allocations: 1.724 MB / 438.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.2496, allocations: 113 kB / 438.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.461e-05/0.2496, allocations: 5.094 kB / 438.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.805e-05/0.2497, allocations: 31.42 kB / 438.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2497, allocations: 4 kB / 438.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.2789, allocations: 3.246 MB / 442.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.9, allocations: 14 kB / 442.2 MB, free: 11.08 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] Reference file matches [Calling sys.exit(0), Time elapsed: 13.256164317950606]