Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.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.001318/0.001318, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.001618/0.001618, allocations: 206.7 kB / 23.72 MB, free: 4.492 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.495/1.495, allocations: 230.5 MB / 257.4 MB, free: 7.777 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.AssignClockToTriggerHold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 63.89 kB / 377.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2701, allocations: 53.41 MB / 431.2 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003168/0.2733, allocations: 1.639 MB / 432.8 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.2744, allocations: 0.5376 MB / 433.3 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.597e-05/0.2745, allocations: 4 kB / 433.3 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.929e-05/0.2746, allocations: 11.86 kB / 433.3 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.2747, allocations: 11.88 kB / 433.4 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.2751, allocations: 75.78 kB / 433.4 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.2752, allocations: 63.78 kB / 433.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.926e-05/0.2753, allocations: 12.23 kB / 433.5 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.2754, allocations: 47.77 kB / 433.6 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.936e-05/0.2755, allocations: 27.86 kB / 433.6 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.2755, allocations: 4 kB / 433.6 MB, free: 4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.991e-05/0.2755, allocations: 12 kB / 433.6 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.622e-05/0.2756, allocations: 19.92 kB / 433.6 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.2756, allocations: 27.8 kB / 433.6 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.2758, allocations: 89.25 kB / 433.7 MB, free: 3.855 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2758, allocations: 4 kB / 433.7 MB, free: 3.852 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2758, allocations: 0 / 433.7 MB, free: 3.852 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.2758, allocations: 3.938 kB / 433.7 MB, free: 3.848 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005077/0.2763, allocations: 313.9 kB / 434 MB, free: 3.512 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2763, allocations: 15.98 kB / 434.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.737e-05/0.2764, allocations: 46.62 kB / 434.1 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.2765, allocations: 24.83 kB / 434.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.2769, allocations: 146.5 kB / 434.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.2769, allocations: 8.375 kB / 434.3 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.2769, allocations: 7.938 kB / 434.3 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.2772, allocations: 156 kB / 434.4 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2772, allocations: 0 / 434.4 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.2772, allocations: 0 / 434.4 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2772, allocations: 0 / 434.4 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.2774, allocations: 39.91 kB / 434.5 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005559/0.2779, allocations: 260.8 kB / 434.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.2782, allocations: 73.12 kB / 434.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.387e-05/0.2783, allocations: 37.8 kB / 434.8 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.2783, allocations: 4 kB / 434.8 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.2785, allocations: 71.28 kB / 434.9 MB, free: 2.512 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.2785, allocations: 0 / 434.9 MB, free: 2.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003295/0.2788, allocations: 117.5 kB / 435 MB, free: 2.391 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.017e-05/0.2789, allocations: 77.11 kB / 435.1 MB, free: 2.297 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.279, allocations: 153.7 kB / 435.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.2791, allocations: 29.7 kB / 435.3 MB, free: 2.102 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/0.2791, allocations: 92.12 kB / 435.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.2791, allocations: 19.98 kB / 435.4 MB, free: 1.988 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.2792, allocations: 37.59 kB / 435.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2794, allocations: 318.8 kB / 435.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.464e-05/0.2794, allocations: 19.98 kB / 435.8 MB, free: 1.605 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.005e-05/0.2795, allocations: 61.12 kB / 435.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.2797, allocations: 97.02 kB / 435.9 MB, free: 1.414 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2797, allocations: 0 / 435.9 MB, free: 1.414 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002146/0.2799, allocations: 105.8 kB / 436 MB, free: 1.305 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2799, allocations: 8 kB / 436 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.2799, allocations: 4.062 kB / 436 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.2799, allocations: 4 kB / 436 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.311e-05/0.28, allocations: 15.92 kB / 436 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.28, allocations: 8.156 kB / 436.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.662e-05/0.2801, allocations: 11.94 kB / 436.1 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.2801, allocations: 7.984 kB / 436.1 MB, free: 1.246 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler.y,$PRE.triggeredSampler.y,clockToTrigger.y3,$PRE.clockToTrigger.y3,triggeredSampler.trigger,$whenCondition1,$CLKPRE.clockToTrigger.y2,clockToTrigger.y2) * Number of discrete states: 0 () * Number of clocked states: 1 (clockToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001141/0.2802, allocations: 126 kB / 436.2 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.27e-05/0.2803, allocations: 57.62 kB / 436.3 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.394e-05/0.2803, allocations: 8.406 kB / 436.3 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.2803, allocations: 7.938 kB / 436.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.2803, allocations: 0 / 436.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.2803, allocations: 3.984 kB / 436.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004052/0.2807, allocations: 313.5 kB / 436.6 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2807, allocations: 4 kB / 436.6 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.298e-05/0.2808, allocations: 19.92 kB / 436.6 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.2808, allocations: 0 / 436.6 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.2808, allocations: 4 kB / 436.6 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.2808, allocations: 0 / 436.6 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2808, allocations: 0 / 436.6 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.281, allocations: 200.3 kB / 436.8 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.2811, allocations: 23.88 kB / 436.8 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.2811, allocations: 7.938 kB / 436.8 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.2812, allocations: 4 kB / 436.8 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.2812, allocations: 11.92 kB / 436.9 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.2812, allocations: 4 kB / 436.9 MB, free: 388 kB / 334.1 MB Notification: Performance of sorting global known variables: time 8.236e-05/0.2813, allocations: 110.8 kB / 437 MB, free: 280 kB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2813, allocations: 0 / 437 MB, free: 280 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002408/0.2816, allocations: 19.95 kB / 437 MB, free: 260 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (clockToTrigger.y2,triggeredSampler.trigger,$whenCondition1,triggeredSampler.y,clockToTrigger.y3) * Number of discrete states: 1 (clockToTrigger.y3) * Number of clocked states: 1 (clockToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007224/0.2823, allocations: 0.7641 MB / 437.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.2825, allocations: 68.2 kB / 437.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2825, allocations: 4.062 kB / 437.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.931e-05/0.2825, allocations: 20.12 kB / 437.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.2829, allocations: 28.31 kB / 437.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.2846, allocations: 1.552 MB / 439.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.626e-05/0.2847, allocations: 92.92 kB / 439.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.003e-05/0.2847, allocations: 4.438 kB / 439.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/0.2848, allocations: 23.42 kB / 439.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2848, allocations: 0 / 439.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0356/0.3204, allocations: 2.609 MB / 442.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.2, allocations: 14.45 kB / 442.2 MB, free: 11.02 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.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.664928785059601]