Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.002294/0.002294, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.003342/0.003342, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 7.949 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 43.92 kB / 379 MB, free: 2.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3065, allocations: 53.35 MB / 432.4 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003329/0.3098, allocations: 1.723 MB / 434.1 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000486/0.3103, allocations: 171.3 kB / 434.3 MB, free: 5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.3104, allocations: 4 kB / 434.3 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.678e-05/0.3105, allocations: 11.86 kB / 434.3 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.3107, allocations: 7.938 kB / 434.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.3109, allocations: 51.83 kB / 434.4 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.3111, allocations: 47.91 kB / 434.4 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.3112, allocations: 23.98 kB / 434.4 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.909e-05/0.3112, allocations: 27.86 kB / 434.5 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.212e-05/0.3113, allocations: 23.84 kB / 434.5 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.3113, allocations: 4 kB / 434.5 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.803e-05/0.3113, allocations: 8 kB / 434.5 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.009e-05/0.3114, allocations: 19.92 kB / 434.5 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.682e-05/0.3114, allocations: 31.69 kB / 434.5 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.3116, allocations: 68.92 kB / 434.6 MB, free: 4.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3116, allocations: 0 / 434.6 MB, free: 4.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3116, allocations: 7.938 kB / 434.6 MB, free: 4.672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3116, allocations: 4 kB / 434.6 MB, free: 4.668 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.0005461/0.3122, allocations: 317 kB / 434.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3122, allocations: 12.03 kB / 434.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.3122, allocations: 8.891 kB / 435 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.3125, allocations: 142.3 kB / 435.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.3126, allocations: 4.375 kB / 435.1 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.3126, allocations: 8.375 kB / 435.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.313, allocations: 166.3 kB / 435.3 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.313, allocations: 192 / 435.3 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.313, allocations: 7.938 kB / 435.3 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.313, allocations: 0 / 435.3 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.3131, allocations: 43.91 kB / 435.3 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.3135, allocations: 329 kB / 435.6 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.3138, allocations: 115.7 kB / 435.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.3139, allocations: 54.67 kB / 435.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.3139, allocations: 4 kB / 435.8 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.314, allocations: 34.56 kB / 435.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.314, allocations: 4 kB / 435.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003512/0.3143, allocations: 125.9 kB / 436 MB, free: 3.145 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.154e-05/0.3144, allocations: 110.8 kB / 436.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3145, allocations: 136.3 kB / 436.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.3146, allocations: 29.7 kB / 436.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.3146, allocations: 92.12 kB / 436.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.3147, allocations: 12.2 kB / 436.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.3147, allocations: 21.72 kB / 436.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3148, allocations: 322.8 kB / 436.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.782e-05/0.3149, allocations: 11.98 kB / 436.7 MB, free: 2.367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.768e-05/0.315, allocations: 75.59 kB / 436.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.3151, allocations: 95.59 kB / 436.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3151, allocations: 3.938 kB / 436.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001873/0.3153, allocations: 113.4 kB / 437 MB, free: 2.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3153, allocations: 4.469 kB / 437 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3153, allocations: 8 kB / 437 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3154, allocations: 3.938 kB / 437 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.374e-05/0.3154, allocations: 16 kB / 437 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.3154, allocations: 7.984 kB / 437 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.038e-05/0.3155, allocations: 11.89 kB / 437 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.3155, allocations: 8 kB / 437 MB, free: 1.965 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.00011/0.3156, allocations: 129.7 kB / 437.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.3157, allocations: 73.64 kB / 437.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/0.3158, allocations: 16.7 kB / 437.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3158, allocations: 4 kB / 437.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3158, allocations: 0 / 437.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3158, allocations: 0 / 437.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.316, allocations: 160.6 kB / 437.4 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3161, allocations: 0 / 437.4 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.904e-05/0.3161, allocations: 23.92 kB / 437.4 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3161, allocations: 3.984 kB / 437.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.3161, allocations: 8 kB / 437.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3161, allocations: 0 / 437.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3161, allocations: 0 / 437.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003916/0.3165, allocations: 320.2 kB / 437.8 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/0.3166, allocations: 15.95 kB / 437.8 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.3166, allocations: 11.92 kB / 437.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.434e-05/0.3167, allocations: 8 kB / 437.8 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.3167, allocations: 4 kB / 437.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.3167, allocations: 0 / 437.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.398e-05/0.3168, allocations: 110.2 kB / 437.9 MB, free: 1.012 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3168, allocations: 4 kB / 437.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000285/0.3171, allocations: 12 kB / 437.9 MB, free: 0.9961 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0001089/0.3172, allocations: 91.25 kB / 438 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.3174, allocations: 71.83 kB / 438.1 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3174, allocations: 0 / 438.1 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.801e-05/0.3175, allocations: 11.94 kB / 438.1 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.3179, allocations: 47.95 kB / 438.1 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.3184, allocations: 226.1 kB / 438.4 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.3187, allocations: 0.6963 MB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.3188, allocations: 11.44 kB / 439.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3188, allocations: 0 / 439.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of Templates: time 0.002639/0.3214, allocations: 0.9261 MB / 440 MB, free: 14.85 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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: 7.11714379908517]