Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.001847/0.001847, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.00213/0.00213, allocations: 213.4 kB / 23 MB, free: 5.609 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.453/1.453, allocations: 230.2 MB / 256.2 MB, free: 8.566 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: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 67.89 kB / 376.5 MB, free: 3.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2931, allocations: 53.32 MB / 429.8 MB, free: 7.582 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.00303/0.2961, allocations: 1.59 MB / 431.4 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.2972, allocations: 0.5648 MB / 431.9 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.72e-05/0.2973, allocations: 4 kB / 431.9 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.719e-05/0.2973, allocations: 3.938 kB / 431.9 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.2975, allocations: 15.86 kB / 432 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.2978, allocations: 63.75 kB / 432 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.2979, allocations: 43.91 kB / 432.1 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.54e-05/0.298, allocations: 8.188 kB / 432.1 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.2981, allocations: 35.84 kB / 432.1 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.839e-05/0.2982, allocations: 19.86 kB / 432.1 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.2982, allocations: 4 kB / 432.1 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.616e-05/0.2982, allocations: 4 kB / 432.1 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.645e-05/0.2983, allocations: 15.92 kB / 432.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.2983, allocations: 27.81 kB / 432.2 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.2985, allocations: 60.94 kB / 432.2 MB, free: 5.117 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2985, allocations: 4 kB / 432.2 MB, free: 5.113 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2985, allocations: 0 / 432.2 MB, free: 5.113 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.2985, allocations: 0 / 432.2 MB, free: 5.113 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000597/0.2991, allocations: 391 kB / 432.6 MB, free: 4.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.2991, allocations: 8.031 kB / 432.6 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.2993, allocations: 16.88 kB / 432.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.2995, allocations: 200.1 kB / 432.8 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.2996, allocations: 8.375 kB / 432.8 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.2996, allocations: 8.312 kB / 432.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.2999, allocations: 105.2 kB / 433 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2999, allocations: 0 / 433 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.2999, allocations: 0 / 433 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2999, allocations: 4 kB / 433 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.308e-05/0.3, allocations: 27.92 kB / 433 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.3003, allocations: 265.7 kB / 433.3 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.691e-05/0.3004, allocations: 41.16 kB / 433.3 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.916e-05/0.3005, allocations: 29.75 kB / 433.3 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.3005, allocations: 0 / 433.3 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.3005, allocations: 34.56 kB / 433.4 MB, free: 3.809 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.3005, allocations: 0 / 433.4 MB, free: 3.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002571/0.3008, allocations: 69.56 kB / 433.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.3008, allocations: 81.36 kB / 433.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.301, allocations: 144.6 kB / 433.6 MB, free: 3.488 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.301, allocations: 25.7 kB / 433.7 MB, free: 3.457 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.301, allocations: 96.09 kB / 433.8 MB, free: 3.359 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.131e-05/0.301, allocations: 0 / 433.8 MB, free: 3.359 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.3011, allocations: 13.72 kB / 433.8 MB, free: 3.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3012, allocations: 322.8 kB / 434.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.148e-05/0.3013, allocations: 8 kB / 434.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.449e-05/0.3013, allocations: 25.7 kB / 434.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.301e-05/0.3014, allocations: 25.64 kB / 434.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3014, allocations: 0 / 434.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001199/0.3015, allocations: 65.67 kB / 434.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.3015, allocations: 4 kB / 434.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3015, allocations: 0 / 434.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3015, allocations: 0 / 434.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.968e-05/0.3016, allocations: 7.984 kB / 434.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.3016, allocations: 4 kB / 434.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.475e-05/0.3017, allocations: 7.938 kB / 434.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.3017, allocations: 0 / 434.2 MB, free: 2.852 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001006/0.3018, allocations: 121.8 kB / 434.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/0.3018, allocations: 41.69 kB / 434.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.3019, allocations: 11.83 kB / 434.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.3019, allocations: 0 / 434.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3019, allocations: 4 kB / 434.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3019, allocations: 0 / 434.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.3021, allocations: 177.5 kB / 434.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3021, allocations: 0 / 434.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.129e-05/0.3021, allocations: 7.984 kB / 434.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3021, allocations: 4 kB / 434.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.3021, allocations: 3.938 kB / 434.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3021, allocations: 4.031 kB / 434.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3021, allocations: 0 / 434.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.3023, allocations: 164.3 kB / 434.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.3024, allocations: 93.05 kB / 434.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.3024, allocations: 0 / 434.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.754e-05/0.3024, allocations: 4 kB / 434.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.3025, allocations: 4.031 kB / 434.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.3025, allocations: 4 kB / 434.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.539e-05/0.3026, allocations: 115.2 kB / 435 MB, free: 1.996 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3026, allocations: 0 / 435 MB, free: 1.996 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002113/0.3028, allocations: 4 kB / 435 MB, free: 1.992 MB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001057/0.3029, allocations: 95.25 kB / 435.1 MB, free: 1.891 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.303, allocations: 24.05 kB / 435.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.303, allocations: 0 / 435.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.15e-05/0.3031, allocations: 15.98 kB / 435.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.3034, allocations: 22.3 kB / 435.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003733/0.3038, allocations: 166.8 kB / 435.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.3042, allocations: 0.6926 MB / 436 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.488e-05/0.3042, allocations: 8 kB / 436 MB, free: 0.918 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.3042, allocations: 7.438 kB / 436 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3042, allocations: 0 / 436 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of Templates: time 0.003129/0.3073, allocations: 0.5342 MB / 436.5 MB, free: 392 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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: 4.456706929020584]