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.001678/0.001678, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002061/0.002061, allocations: 205.9 kB / 23.73 MB, free: 4.379 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.514/1.514, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001628/0.001628, allocations: 55.91 kB / 378.2 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3224, allocations: 53.37 MB / 431.6 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003438/0.3258, allocations: 1.693 MB / 433.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005465/0.3264, allocations: 163.4 kB / 433.4 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.3265, allocations: 4 kB / 433.4 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.221e-05/0.3265, allocations: 7.875 kB / 433.5 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.3267, allocations: 11.94 kB / 433.5 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.327, allocations: 51.81 kB / 433.5 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.3271, allocations: 47.86 kB / 433.6 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.3272, allocations: 23.98 kB / 433.6 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.98e-05/0.3273, allocations: 27.84 kB / 433.6 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.87e-05/0.3273, allocations: 27.8 kB / 433.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.3274, allocations: 4 kB / 433.6 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.622e-05/0.3274, allocations: 8 kB / 433.7 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.416e-05/0.3274, allocations: 15.92 kB / 433.7 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.91e-05/0.3275, allocations: 19.88 kB / 433.7 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.3277, allocations: 86.06 kB / 433.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3277, allocations: 0 / 433.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3277, allocations: 0 / 433.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.3277, allocations: 0 / 433.8 MB, free: 4.641 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.0005736/0.3282, allocations: 313.9 kB / 434.1 MB, free: 4.301 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3283, allocations: 8.031 kB / 434.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.828e-05/0.3283, allocations: 8.891 kB / 434.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.3286, allocations: 146.3 kB / 434.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.3286, allocations: 384 / 434.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.3286, allocations: 12.38 kB / 434.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.329, allocations: 173.8 kB / 434.4 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3291, allocations: 192 / 434.4 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.3291, allocations: 3.938 kB / 434.4 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.3291, allocations: 4 kB / 434.4 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.3292, allocations: 39.86 kB / 434.5 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.3296, allocations: 305.6 kB / 434.8 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.3299, allocations: 111.8 kB / 434.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.33, allocations: 54.62 kB / 434.9 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.33, allocations: 4 kB / 434.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.33, allocations: 34.56 kB / 435 MB, free: 3.289 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.512e-06/0.33, allocations: 0 / 435 MB, free: 3.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003433/0.3304, allocations: 129.8 kB / 435.1 MB, free: 3.156 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.299e-05/0.3305, allocations: 114.9 kB / 435.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.3306, allocations: 140.5 kB / 435.3 MB, free: 2.875 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.3306, allocations: 25.7 kB / 435.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.3307, allocations: 84.14 kB / 435.5 MB, free: 2.758 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.3307, allocations: 15.94 kB / 435.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.3308, allocations: 29.67 kB / 435.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3309, allocations: 314.8 kB / 435.8 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.921e-05/0.3309, allocations: 12 kB / 435.8 MB, free: 2.379 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.326e-05/0.331, allocations: 75.59 kB / 435.9 MB, free: 2.277 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.3312, allocations: 99.58 kB / 436 MB, free: 2.152 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3312, allocations: 0 / 436 MB, free: 2.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001945/0.3314, allocations: 109.4 kB / 436.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3314, allocations: 8 kB / 436.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3314, allocations: 0 / 436.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3314, allocations: 4 kB / 436.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.099e-05/0.3315, allocations: 19.98 kB / 436.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.3315, allocations: 4 kB / 436.1 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.683e-05/0.3316, allocations: 16.17 kB / 436.1 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.3316, allocations: 12 kB / 436.2 MB, free: 1.977 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.0001039/0.3317, allocations: 125.7 kB / 436.3 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.3318, allocations: 73.64 kB / 436.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.126e-05/0.3318, allocations: 16.72 kB / 436.4 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3318, allocations: 0 / 436.4 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.3318, allocations: 4 kB / 436.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3318, allocations: 0 / 436.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.332, allocations: 121.3 kB / 436.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.332, allocations: 3.938 kB / 436.5 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.882e-05/0.3321, allocations: 27.86 kB / 436.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3321, allocations: 4 kB / 436.5 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3321, allocations: 4 kB / 436.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3321, allocations: 0 / 436.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3321, allocations: 0 / 436.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000389/0.3325, allocations: 316.2 kB / 436.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.3326, allocations: 27.88 kB / 436.9 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.3326, allocations: 3.984 kB / 436.9 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.3327, allocations: 11.92 kB / 436.9 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.3327, allocations: 4 kB / 436.9 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.3327, allocations: 8 kB / 436.9 MB, free: 1.168 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.593e-05/0.3328, allocations: 107.2 kB / 437 MB, free: 1.062 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3328, allocations: 0 / 437 MB, free: 1.062 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.3331, allocations: 8 kB / 437 MB, free: 1.055 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.0001055/0.3332, allocations: 99.25 kB / 437.1 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.3334, allocations: 64.61 kB / 437.2 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3334, allocations: 4.062 kB / 437.2 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.014e-05/0.3334, allocations: 15.88 kB / 437.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.3339, allocations: 40 kB / 437.2 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/0.3343, allocations: 191.7 kB / 437.4 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.3344, allocations: 91.2 kB / 437.5 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.603e-05/0.3344, allocations: 8.797 kB / 437.5 MB, free: 500 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.3345, allocations: 11.44 kB / 437.5 MB, free: 488 kB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3345, allocations: 0 / 437.5 MB, free: 488 kB / 334.1 MB Notification: Performance of Templates: time 0.003668/0.3382, allocations: 0.8191 MB / 438.3 MB, free: 15.67 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/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: 4.641909357625991]