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.001746/0.001746, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.002154/0.002154, allocations: 205.5 kB / 24.51 MB, free: 3.945 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.507/1.507, allocations: 230.5 MB / 258.2 MB, free: 7.809 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 67.89 kB / 378.5 MB, free: 2.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2912, allocations: 53.4 MB / 431.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002432/0.2936, allocations: 1.007 MB / 432.9 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003901/0.294, allocations: 139.5 kB / 433.1 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.359e-05/0.2941, allocations: 0 / 433.1 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.2942, allocations: 15.86 kB / 433.1 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.2943, allocations: 11.86 kB / 433.1 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.2945, allocations: 43.91 kB / 433.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.2947, allocations: 71.77 kB / 433.2 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.2948, allocations: 34.06 kB / 433.2 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.486e-05/0.2948, allocations: 31.86 kB / 433.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.83e-05/0.2949, allocations: 27.8 kB / 433.3 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.2949, allocations: 11.94 kB / 433.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.654e-05/0.2949, allocations: 4 kB / 433.3 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.994e-05/0.295, allocations: 27.91 kB / 433.3 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.343e-05/0.2951, allocations: 27.81 kB / 433.4 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.2952, allocations: 103.4 kB / 433.5 MB, free: 4.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.2952, allocations: 0 / 433.5 MB, free: 4.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.2952, allocations: 7.984 kB / 433.5 MB, free: 4.922 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.16e-05/0.2953, allocations: 0 / 433.5 MB, free: 4.922 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.0005196/0.2958, allocations: 329.8 kB / 433.8 MB, free: 4.566 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.2958, allocations: 12.03 kB / 433.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.062e-05/0.2959, allocations: 4.188 kB / 433.8 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.902e-05/0.2959, allocations: 38.75 kB / 433.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.2959, allocations: 12.89 kB / 433.9 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.2962, allocations: 154.2 kB / 434 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.2962, allocations: 4.375 kB / 434 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.2963, allocations: 20.12 kB / 434 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.2967, allocations: 209.7 kB / 434.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.2967, allocations: 3.984 kB / 434.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.2967, allocations: 0 / 434.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2967, allocations: 4 kB / 434.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.067e-05/0.2968, allocations: 39.86 kB / 434.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.297, allocations: 156.7 kB / 434.4 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.2972, allocations: 114.6 kB / 434.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.2973, allocations: 77.36 kB / 434.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.2973, allocations: 0 / 434.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.2973, allocations: 38.5 kB / 434.7 MB, free: 3.594 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 9.42e-07/0.2973, allocations: 0 / 434.7 MB, free: 3.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002902/0.2976, allocations: 152.7 kB / 434.8 MB, free: 3.441 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.2977, allocations: 63.34 kB / 434.9 MB, free: 3.367 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.2979, allocations: 146.4 kB / 435 MB, free: 3.207 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.2979, allocations: 33.7 kB / 435 MB, free: 3.168 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.2979, allocations: 84.47 kB / 435.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.298, allocations: 15.92 kB / 435.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.298, allocations: 37.67 kB / 435.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.2982, allocations: 322.8 kB / 435.5 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.522e-05/0.2982, allocations: 15.98 kB / 435.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.2983, allocations: 113.7 kB / 435.6 MB, free: 2.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.2985, allocations: 157.4 kB / 435.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2985, allocations: 7.938 kB / 435.8 MB, free: 2.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002118/0.2987, allocations: 149.3 kB / 435.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.2987, allocations: 10.66 kB / 435.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.046e-06/0.2987, allocations: 8.484 kB / 436 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2987, allocations: 8 kB / 436 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.2988, allocations: 31.94 kB / 436 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.2989, allocations: 7.984 kB / 436 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.903e-05/0.2989, allocations: 11.95 kB / 436 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.2989, allocations: 12 kB / 436 MB, free: 2.07 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.0001396/0.2991, allocations: 133.7 kB / 436.2 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.2992, allocations: 125.5 kB / 436.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.972e-05/0.2993, allocations: 17.12 kB / 436.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2993, allocations: 0 / 436.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2993, allocations: 0 / 436.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2993, allocations: 7.984 kB / 436.3 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.2994, allocations: 152.7 kB / 436.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2994, allocations: 0 / 436.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.747e-05/0.2995, allocations: 23.98 kB / 436.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.2995, allocations: 0 / 436.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.2996, allocations: 11.94 kB / 436.5 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2996, allocations: 0 / 436.5 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2996, allocations: 0 / 436.5 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.2998, allocations: 160.8 kB / 436.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-05/0.2998, allocations: 23.89 kB / 436.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.2998, allocations: 0 / 436.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.981e-05/0.2999, allocations: 12 kB / 436.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-06/0.2999, allocations: 0 / 436.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.2999, allocations: 4 kB / 436.7 MB, free: 1.336 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.664e-05/0.3, allocations: 110.6 kB / 436.8 MB, free: 1.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3, allocations: 0 / 436.8 MB, free: 1.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.3002, allocations: 20 kB / 436.8 MB, free: 1.211 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.0006194/0.3008, allocations: 0.7366 MB / 437.5 MB, free: 460 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.301, allocations: 92.41 kB / 437.6 MB, free: 368 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.301, allocations: 0 / 437.6 MB, free: 368 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.301, allocations: 0 / 437.6 MB, free: 368 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.3014, allocations: 79.8 kB / 437.7 MB, free: 288 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.303, allocations: 1.666 MB / 439.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.714e-05/0.3031, allocations: 97.17 kB / 439.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.109e-05/0.3031, allocations: 8.641 kB / 439.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.3032, allocations: 39.41 kB / 439.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3032, allocations: 0 / 439.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0244/0.3276, allocations: 2.729 MB / 442.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.32, allocations: 8.625 kB / 442.3 MB, free: 11.67 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] "" Variables in the reference:time,assignClock1.y[1],assignClock1.y[2] Variables in the result:add.k1,add.k2,add.u1,add.u2,add.y,add1.k1,add1.k2,add1.u1,add1.u2,add1.y,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),time,unitDelay1.u,unitDelay1.y,unitDelay1.y_start,unitDelay2.u,unitDelay2.y,unitDelay2.y_start [Calling sys.exit(0), Time elapsed: 14.031839042087086]