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.001584/0.001584, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001607/0.001607, allocations: 203.8 kB / 23.73 MB, free: 4.379 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.423/1.423, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001496/0.001496, allocations: 39.94 kB / 377.7 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2569, allocations: 53.37 MB / 431.1 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002348/0.2593, allocations: 0.9009 MB / 432 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004092/0.2597, allocations: 143.5 kB / 432.1 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.064e-05/0.2598, allocations: 7.938 kB / 432.1 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.2599, allocations: 11.86 kB / 432.1 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.26, allocations: 19.86 kB / 432.2 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.2602, allocations: 47.89 kB / 432.2 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.2603, allocations: 71.77 kB / 432.3 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.2605, allocations: 27.98 kB / 432.3 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.553e-05/0.2605, allocations: 23.91 kB / 432.3 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.208e-05/0.2606, allocations: 39.78 kB / 432.4 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.2606, allocations: 8 kB / 432.4 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.301e-05/0.2606, allocations: 4 kB / 432.4 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.542e-05/0.2607, allocations: 31.91 kB / 432.4 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.485e-05/0.2608, allocations: 31.75 kB / 432.4 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.2609, allocations: 105.1 kB / 432.5 MB, free: 5.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2609, allocations: 0 / 432.5 MB, free: 5.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2609, allocations: 4 kB / 432.6 MB, free: 5.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.2609, allocations: 0 / 432.6 MB, free: 5.207 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.0004924/0.2614, allocations: 341.8 kB / 432.9 MB, free: 4.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.2615, allocations: 8.031 kB / 432.9 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.659e-05/0.2615, allocations: 42.73 kB / 432.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.2615, allocations: 20.84 kB / 433 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.2618, allocations: 150.2 kB / 433.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.2618, allocations: 8.359 kB / 433.1 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.2618, allocations: 12.38 kB / 433.1 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.2622, allocations: 242.2 kB / 433.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2622, allocations: 3.938 kB / 433.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.2622, allocations: 4 kB / 433.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2622, allocations: 3.984 kB / 433.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.928e-05/0.2623, allocations: 51.91 kB / 433.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.2625, allocations: 156.6 kB / 433.6 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.2627, allocations: 138.9 kB / 433.7 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.2628, allocations: 83.44 kB / 433.8 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.2628, allocations: 0 / 433.8 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.2629, allocations: 34.56 kB / 433.8 MB, free: 3.797 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 8.41e-07/0.2629, allocations: 0 / 433.8 MB, free: 3.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003089/0.2632, allocations: 181.7 kB / 434 MB, free: 3.613 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.2632, allocations: 67.34 kB / 434.1 MB, free: 3.535 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.2634, allocations: 163.5 kB / 434.2 MB, free: 3.371 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.2634, allocations: 29.7 kB / 434.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.2635, allocations: 92.45 kB / 434.3 MB, free: 3.238 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.2635, allocations: 23.88 kB / 434.4 MB, free: 3.215 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.077e-05/0.2635, allocations: 37.72 kB / 434.4 MB, free: 3.172 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.2637, allocations: 318.8 kB / 434.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.942e-05/0.2637, allocations: 23.98 kB / 434.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.2638, allocations: 117.7 kB / 434.9 MB, free: 2.664 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.264, allocations: 153.5 kB / 435 MB, free: 2.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.264, allocations: 0 / 435 MB, free: 2.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002219/0.2642, allocations: 161.3 kB / 435.2 MB, free: 2.301 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.2642, allocations: 10.75 kB / 435.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.2643, allocations: 11.98 kB / 435.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2643, allocations: 4.5 kB / 435.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.2644, allocations: 35.94 kB / 435.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.2644, allocations: 11.98 kB / 435.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.627e-05/0.2645, allocations: 11.89 kB / 435.2 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.2645, allocations: 8 kB / 435.3 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.0001314/0.2646, allocations: 145.8 kB / 435.4 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.2648, allocations: 148.3 kB / 435.5 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.746e-05/0.2648, allocations: 21.12 kB / 435.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.2648, allocations: 4 kB / 435.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2648, allocations: 0 / 435.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2649, allocations: 4 kB / 435.6 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.265, allocations: 152.7 kB / 435.7 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.265, allocations: 0 / 435.7 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.2651, allocations: 31.98 kB / 435.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2651, allocations: 3.938 kB / 435.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.2651, allocations: 0 / 435.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2651, allocations: 0 / 435.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2651, allocations: 0 / 435.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.2653, allocations: 172.9 kB / 435.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.224e-05/0.2654, allocations: 31.77 kB / 436 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.2654, allocations: 11.94 kB / 436 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.986e-05/0.2654, allocations: 4 kB / 436 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-06/0.2655, allocations: 3.984 kB / 436 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.2655, allocations: 8 kB / 436 MB, free: 1.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.59e-05/0.2655, allocations: 115.2 kB / 436.1 MB, free: 1.297 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2655, allocations: 0 / 436.1 MB, free: 1.297 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002268/0.2658, allocations: 16 kB / 436.1 MB, free: 1.281 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.0006734/0.2664, allocations: 0.7762 MB / 436.9 MB, free: 488 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.2666, allocations: 102.9 kB / 437 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2666, allocations: 0 / 437 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.2666, allocations: 0 / 437 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.267, allocations: 87.91 kB / 437.1 MB, free: 300 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.2687, allocations: 1.722 MB / 438.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.613e-05/0.2688, allocations: 109 kB / 438.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.45e-05/0.2688, allocations: 9.094 kB / 438.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.2689, allocations: 27.42 kB / 438.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2689, allocations: 4 kB / 438.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02786/0.2967, allocations: 3.282 MB / 442.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.63, allocations: 3.859 kB / 442.2 MB, free: 11.1 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: 12.978659472020809]