Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001282, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001698/0.001698, allocations: 214 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 63.91 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2718, allocations: 53.4 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002526/0.2744, allocations: 1.054 MB / 432.2 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003949/0.2748, allocations: 147.5 kB / 432.4 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.86e-05/0.2748, allocations: 0 / 432.4 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.2749, allocations: 11.86 kB / 432.4 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.862e-05/0.275, allocations: 11.88 kB / 432.4 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.2753, allocations: 47.89 kB / 432.5 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.2754, allocations: 67.77 kB / 432.5 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.2755, allocations: 35.97 kB / 432.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.178e-05/0.2756, allocations: 23.86 kB / 432.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.572e-05/0.2756, allocations: 31.84 kB / 432.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.2757, allocations: 4 kB / 432.6 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.598e-05/0.2757, allocations: 8 kB / 432.6 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.191e-05/0.2758, allocations: 27.86 kB / 432.7 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.929e-05/0.2758, allocations: 43.72 kB / 432.7 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.276, allocations: 91.88 kB / 432.8 MB, free: 5.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.276, allocations: 0 / 432.8 MB, free: 5.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.276, allocations: 0 / 432.8 MB, free: 5.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.276, allocations: 0 / 432.8 MB, free: 5.102 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.000491/0.2765, allocations: 337.8 kB / 433.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2765, allocations: 8.031 kB / 433.1 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.693e-05/0.2766, allocations: 42.75 kB / 433.2 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.2766, allocations: 12.84 kB / 433.2 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.2769, allocations: 150.4 kB / 433.3 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.2769, allocations: 4.375 kB / 433.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.2769, allocations: 8.375 kB / 433.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003889/0.2773, allocations: 221.6 kB / 433.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2773, allocations: 0 / 433.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.2773, allocations: 8 kB / 433.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2773, allocations: 0 / 433.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.414e-05/0.2774, allocations: 35.92 kB / 433.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.2775, allocations: 168.6 kB / 433.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.2778, allocations: 118.6 kB / 433.9 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.2779, allocations: 72.44 kB / 433.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.2779, allocations: 7.938 kB / 434 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.2779, allocations: 42.44 kB / 434 MB, free: 3.758 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.143e-06/0.2779, allocations: 0 / 434 MB, free: 3.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002804/0.2782, allocations: 149.6 kB / 434.1 MB, free: 3.605 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.2783, allocations: 59.41 kB / 434.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.2784, allocations: 146.4 kB / 434.3 MB, free: 3.375 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.2784, allocations: 33.64 kB / 434.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.2785, allocations: 84.47 kB / 434.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.2785, allocations: 15.92 kB / 434.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.2786, allocations: 41.67 kB / 434.5 MB, free: 3.184 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2787, allocations: 318.8 kB / 434.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.541e-05/0.2787, allocations: 19.98 kB / 434.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.2788, allocations: 121.7 kB / 435 MB, free: 2.676 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.279, allocations: 145.5 kB / 435.1 MB, free: 2.484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.279, allocations: 7.938 kB / 435.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002118/0.2792, allocations: 153.6 kB / 435.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2792, allocations: 11.98 kB / 435.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.2792, allocations: 7.984 kB / 435.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.2793, allocations: 4 kB / 435.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.2794, allocations: 35.92 kB / 435.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.2794, allocations: 8 kB / 435.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.805e-05/0.2794, allocations: 7.953 kB / 435.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.2795, allocations: 12 kB / 435.3 MB, free: 2.234 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.0001149/0.2796, allocations: 137.8 kB / 435.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.2797, allocations: 117.6 kB / 435.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.237e-05/0.2798, allocations: 17.12 kB / 435.6 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2798, allocations: 0 / 435.6 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2798, allocations: 3.984 kB / 435.6 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2798, allocations: 4 kB / 435.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.2799, allocations: 160.6 kB / 435.8 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2799, allocations: 0 / 435.8 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.28, allocations: 31.92 kB / 435.8 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.28, allocations: 4 kB / 435.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.2801, allocations: 4 kB / 435.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.2801, allocations: 0 / 435.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2801, allocations: 0 / 435.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.2803, allocations: 160.6 kB / 436 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.2803, allocations: 27.86 kB / 436 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.2803, allocations: 4 kB / 436 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.809e-05/0.2804, allocations: 8 kB / 436 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-06/0.2804, allocations: 0 / 436 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.2804, allocations: 0 / 436 MB, free: 1.496 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.327e-05/0.2805, allocations: 122.2 kB / 436.1 MB, free: 1.379 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2805, allocations: 0 / 436.1 MB, free: 1.379 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002304/0.2807, allocations: 20 kB / 436.2 MB, free: 1.359 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.0006073/0.2813, allocations: 0.7294 MB / 436.9 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.2815, allocations: 95.84 kB / 437 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2815, allocations: 0 / 437 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.2815, allocations: 0 / 437 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.2818, allocations: 75.92 kB / 437.1 MB, free: 444 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.2834, allocations: 1.665 MB / 438.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.2838, allocations: 0.7162 MB / 439.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.122e-05/0.2838, allocations: 12.64 kB / 439.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.609e-05/0.2839, allocations: 27.42 kB / 439.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2839, allocations: 0 / 439.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.3136, allocations: 2.666 MB / 442.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.88, allocations: 14 kB / 442.1 MB, free: 11.25 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.241651477990672]