Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001322/0.001322, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001425/0.001425, allocations: 208.3 kB / 23.73 MB, free: 4.523 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.386/1.386, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 48.02 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2476, allocations: 53.36 MB / 431.1 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002594/0.2502, allocations: 1.023 MB / 432.1 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004455/0.2507, allocations: 131.5 kB / 432.2 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.2508, allocations: 7.938 kB / 432.2 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.2509, allocations: 11.86 kB / 432.3 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.251, allocations: 23.75 kB / 432.3 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.2513, allocations: 47.88 kB / 432.3 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.2514, allocations: 59.91 kB / 432.4 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.2516, allocations: 31.97 kB / 432.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.342e-05/0.2516, allocations: 31.84 kB / 432.4 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.314e-05/0.2517, allocations: 39.72 kB / 432.5 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.2517, allocations: 4 kB / 432.5 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.567e-05/0.2517, allocations: 8 kB / 432.5 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.755e-05/0.2518, allocations: 23.92 kB / 432.5 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.802e-05/0.2519, allocations: 31.73 kB / 432.6 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.2521, allocations: 89.2 kB / 432.6 MB, free: 5.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2521, allocations: 0 / 432.6 MB, free: 5.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2521, allocations: 4 kB / 432.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.2521, allocations: 4 kB / 432.6 MB, free: 5.223 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.0005263/0.2526, allocations: 329.8 kB / 433 MB, free: 4.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.2527, allocations: 8.031 kB / 433 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.177e-05/0.2527, allocations: 46.69 kB / 433 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.2527, allocations: 8.891 kB / 433 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.253, allocations: 149 kB / 433.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.253, allocations: 8.328 kB / 433.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.2531, allocations: 12.38 kB / 433.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004464/0.2535, allocations: 225 kB / 433.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.2535, allocations: 0 / 433.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.2535, allocations: 4 kB / 433.4 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.2535, allocations: 0 / 433.4 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.925e-05/0.2536, allocations: 35.92 kB / 433.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001974/0.2538, allocations: 152.7 kB / 433.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.2541, allocations: 122.6 kB / 433.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.2542, allocations: 65.48 kB / 433.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.2542, allocations: 3.938 kB / 433.8 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.2542, allocations: 42.5 kB / 433.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.2542, allocations: 0 / 433.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003166/0.2545, allocations: 149.5 kB / 434 MB, free: 3.746 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.2546, allocations: 59.41 kB / 434 MB, free: 3.676 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.2548, allocations: 149.6 kB / 434.2 MB, free: 3.516 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.2548, allocations: 29.7 kB / 434.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.2548, allocations: 88.47 kB / 434.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.2549, allocations: 23.86 kB / 434.3 MB, free: 3.363 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.799e-05/0.2549, allocations: 33.67 kB / 434.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2551, allocations: 318.8 kB / 434.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.433e-05/0.2551, allocations: 19.98 kB / 434.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.2552, allocations: 125.7 kB / 434.8 MB, free: 2.812 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.2554, allocations: 145.5 kB / 435 MB, free: 2.621 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.2554, allocations: 3.938 kB / 435 MB, free: 2.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000235/0.2556, allocations: 157.3 kB / 435.1 MB, free: 2.457 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.2556, allocations: 4 kB / 435.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2556, allocations: 4 kB / 435.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.2557, allocations: 8.5 kB / 435.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.2558, allocations: 39.92 kB / 435.2 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.2558, allocations: 7.938 kB / 435.2 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.717e-05/0.2559, allocations: 11.95 kB / 435.2 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.2559, allocations: 8 kB / 435.2 MB, free: 2.375 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: 0 () * 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.0001153/0.256, allocations: 149.6 kB / 435.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.2561, allocations: 124.8 kB / 435.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.2562, allocations: 17.11 kB / 435.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2562, allocations: 4 kB / 435.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.2562, allocations: 0 / 435.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2562, allocations: 0 / 435.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.2563, allocations: 152.7 kB / 435.6 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2563, allocations: 0 / 435.6 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.2564, allocations: 31.92 kB / 435.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2564, allocations: 0 / 435.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.2564, allocations: 4 kB / 435.7 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2564, allocations: 0 / 435.7 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2564, allocations: 0 / 435.7 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.2566, allocations: 152.9 kB / 435.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/0.2567, allocations: 23.89 kB / 435.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.2567, allocations: 4 kB / 435.8 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.842e-05/0.2568, allocations: 7.984 kB / 435.8 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-06/0.2568, allocations: 4 kB / 435.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.2568, allocations: 4 kB / 435.9 MB, free: 1.637 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.103e-05/0.2569, allocations: 107.3 kB / 436 MB, free: 1.531 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2569, allocations: 0 / 436 MB, free: 1.531 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.2571, allocations: 19.98 kB / 436 MB, free: 1.512 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: 0 () * 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.0006558/0.2577, allocations: 0.7321 MB / 436.7 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.2579, allocations: 92.72 kB / 436.8 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.258, allocations: 4.062 kB / 436.8 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.258, allocations: 3.938 kB / 436.8 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.2584, allocations: 79.02 kB / 436.9 MB, free: 0.582 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.26, allocations: 1.655 MB / 438.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.2601, allocations: 105.2 kB / 438.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.211e-05/0.2602, allocations: 8.594 kB / 438.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.46e-05/0.2602, allocations: 35.36 kB / 438.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2602, allocations: 0 / 438.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03118/0.2914, allocations: 3.085 MB / 441.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.78, allocations: 14.95 kB / 441.8 MB, free: 11.63 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.059510048973607]