Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.001909/0.001909, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002205/0.002205, allocations: 214.8 kB / 24.48 MB, free: 3.941 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.432/1.432, allocations: 230.6 MB / 258.2 MB, free: 7.77 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.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 47.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2294, allocations: 53.36 MB / 432.3 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002752/0.2321, allocations: 1.535 MB / 433.9 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003779/0.2325, allocations: 139.4 kB / 434 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.734e-05/0.2326, allocations: 4 kB / 434 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.055e-05/0.2326, allocations: 3.938 kB / 434 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.2327, allocations: 3.938 kB / 434 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.233, allocations: 47.89 kB / 434.1 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.665e-05/0.2331, allocations: 31.86 kB / 434.1 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.63e-05/0.2332, allocations: 19.97 kB / 434.1 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.513e-05/0.2332, allocations: 11.94 kB / 434.1 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.268e-05/0.2332, allocations: 15.92 kB / 434.1 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.2332, allocations: 0 / 434.1 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.211e-05/0.2333, allocations: 4 kB / 434.1 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.351e-05/0.2333, allocations: 11.94 kB / 434.1 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.333e-05/0.2333, allocations: 23.8 kB / 434.2 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.2334, allocations: 46.7 kB / 434.2 MB, free: 4.984 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2334, allocations: 8 kB / 434.2 MB, free: 4.977 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2335, allocations: 0 / 434.2 MB, free: 4.977 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.2335, allocations: 0 / 434.2 MB, free: 4.977 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004365/0.2339, allocations: 298.1 kB / 434.5 MB, free: 4.652 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.2339, allocations: 8.031 kB / 434.5 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.234, allocations: 8.891 kB / 434.5 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.2342, allocations: 134.4 kB / 434.7 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.2342, allocations: 384 / 434.7 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.2342, allocations: 8.312 kB / 434.7 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.2345, allocations: 117.6 kB / 434.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.2345, allocations: 192 / 434.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.2345, allocations: 3.938 kB / 434.8 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.2345, allocations: 4 kB / 434.8 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.829e-05/0.2346, allocations: 23.95 kB / 434.8 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.2349, allocations: 201.4 kB / 435 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.235, allocations: 61.2 kB / 435.1 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.43e-05/0.2351, allocations: 33.7 kB / 435.1 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.2351, allocations: 3.938 kB / 435.1 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.2352, allocations: 34.56 kB / 435.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2352, allocations: 0 / 435.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002417/0.2354, allocations: 77.55 kB / 435.2 MB, free: 3.832 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.2355, allocations: 85.11 kB / 435.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.2356, allocations: 136.6 kB / 435.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.2356, allocations: 33.83 kB / 435.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.2357, allocations: 84.14 kB / 435.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.119e-05/0.2357, allocations: 7.891 kB / 435.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.2357, allocations: 25.7 kB / 435.6 MB, free: 3.422 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.2359, allocations: 310.8 kB / 435.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.504e-05/0.2359, allocations: 15.98 kB / 435.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.121e-05/0.236, allocations: 31.42 kB / 435.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.903e-05/0.2361, allocations: 47.38 kB / 436 MB, free: 2.992 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2361, allocations: 7.922 kB / 436 MB, free: 2.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001343/0.2362, allocations: 69.5 kB / 436.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2362, allocations: 8 kB / 436.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2362, allocations: 0 / 436.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.2362, allocations: 0 / 436.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.547e-05/0.2363, allocations: 11.98 kB / 436.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.2363, allocations: 8.125 kB / 436.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.473e-05/0.2364, allocations: 3.953 kB / 436.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.2364, allocations: 4 kB / 436.1 MB, free: 2.875 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.782e-05/0.2365, allocations: 113.8 kB / 436.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.011e-05/0.2365, allocations: 53.56 kB / 436.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.518e-05/0.2366, allocations: 12.34 kB / 436.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2366, allocations: 3.984 kB / 436.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2366, allocations: 0 / 436.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.2366, allocations: 0 / 436.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.2367, allocations: 117.3 kB / 436.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2367, allocations: 4 kB / 436.4 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/0.2368, allocations: 8 kB / 436.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2368, allocations: 3.938 kB / 436.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.2368, allocations: 0 / 436.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.2368, allocations: 3.984 kB / 436.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2368, allocations: 0 / 436.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.237, allocations: 168.6 kB / 436.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.237, allocations: 15.92 kB / 436.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.237, allocations: 0 / 436.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.357e-05/0.2371, allocations: 4.047 kB / 436.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.2371, allocations: 15.97 kB / 436.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.2371, allocations: 0 / 436.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.269e-05/0.2372, allocations: 102.4 kB / 436.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2372, allocations: 0 / 436.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.2374, allocations: 8 kB / 436.7 MB, free: 2.184 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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 9.752e-05/0.2375, allocations: 99.25 kB / 436.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000136/0.2377, allocations: 31.91 kB / 436.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2377, allocations: 8.188 kB / 436.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.346e-05/0.2377, allocations: 8 kB / 436.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.238, allocations: 18.59 kB / 436.9 MB, free: 2.016 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003159/0.2384, allocations: 174.2 kB / 437 MB, free: 1.816 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.135e-05/0.2384, allocations: 71.33 kB / 437.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.1e-05/0.2385, allocations: 0 / 437.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.2385, allocations: 11.44 kB / 437.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2385, allocations: 0 / 437.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of Templates: time 0.00287/0.2413, allocations: 0.5567 MB / 437.7 MB, free: 1.168 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.241401870996924]