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.001249/0.001249, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001453/0.001453, allocations: 209 kB / 24.48 MB, free: 3.938 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.513/1.513, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.001618/0.001618, allocations: 47.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2383, allocations: 53.37 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003213/0.2415, allocations: 1.523 MB / 433.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000401/0.2419, allocations: 135.5 kB / 434 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.158e-05/0.242, allocations: 3.938 kB / 434 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.247e-05/0.2421, allocations: 7.922 kB / 434 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.2422, allocations: 11.92 kB / 434 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.2424, allocations: 35.91 kB / 434.1 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.2425, allocations: 43.78 kB / 434.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.802e-05/0.2426, allocations: 7.984 kB / 434.1 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.681e-05/0.2426, allocations: 15.92 kB / 434.1 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.187e-05/0.2427, allocations: 11.94 kB / 434.1 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.2427, allocations: 8 kB / 434.1 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.049e-05/0.2427, allocations: 0 / 434.1 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.905e-05/0.2428, allocations: 15.92 kB / 434.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.092e-05/0.2428, allocations: 15.88 kB / 434.2 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.2429, allocations: 54.36 kB / 434.2 MB, free: 4.809 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2429, allocations: 0 / 434.2 MB, free: 4.809 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2429, allocations: 0 / 434.2 MB, free: 4.809 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.243, allocations: 0 / 434.2 MB, free: 4.809 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.0005005/0.2435, allocations: 302 kB / 434.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2435, allocations: 8.031 kB / 434.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.2435, allocations: 12.89 kB / 434.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.2438, allocations: 130.4 kB / 434.7 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.2438, allocations: 4.375 kB / 434.7 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.2438, allocations: 4.375 kB / 434.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.2441, allocations: 125.5 kB / 434.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.2441, allocations: 192 / 434.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.2441, allocations: 7.938 kB / 434.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.2441, allocations: 0 / 434.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.925e-05/0.2442, allocations: 19.98 kB / 434.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.2445, allocations: 205.4 kB / 435 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.2447, allocations: 57.2 kB / 435.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.664e-05/0.2448, allocations: 25.77 kB / 435.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.2448, allocations: 7.938 kB / 435.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.2449, allocations: 38.5 kB / 435.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.2449, allocations: 4 kB / 435.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002544/0.2451, allocations: 77.56 kB / 435.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.2452, allocations: 81.11 kB / 435.3 MB, free: 3.555 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.2453, allocations: 142 kB / 435.4 MB, free: 3.402 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.2453, allocations: 25.7 kB / 435.5 MB, free: 3.371 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.2454, allocations: 88.14 kB / 435.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.033e-05/0.2454, allocations: 3.953 kB / 435.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.2454, allocations: 17.72 kB / 435.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.2456, allocations: 322.8 kB / 435.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.245e-05/0.2456, allocations: 12.06 kB / 435.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.457e-05/0.2457, allocations: 35.42 kB / 435.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.757e-05/0.2458, allocations: 43.36 kB / 436 MB, free: 2.816 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2458, allocations: 0 / 436 MB, free: 2.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001423/0.2459, allocations: 77.55 kB / 436.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.2459, allocations: 4 kB / 436.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2459, allocations: 0 / 436.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.246, allocations: 4 kB / 436.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.981e-05/0.246, allocations: 12 kB / 436.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.246, allocations: 0 / 436.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.834e-05/0.2461, allocations: 11.94 kB / 436.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.2461, allocations: 0 / 436.1 MB, free: 2.703 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.176e-05/0.2462, allocations: 117.8 kB / 436.2 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.721e-05/0.2462, allocations: 53.56 kB / 436.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.079e-05/0.2463, allocations: 12.73 kB / 436.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2463, allocations: 0 / 436.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2463, allocations: 4 kB / 436.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2463, allocations: 3.984 kB / 436.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.2464, allocations: 113.3 kB / 436.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2464, allocations: 3.984 kB / 436.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.714e-05/0.2465, allocations: 8 kB / 436.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.2465, allocations: 3.938 kB / 436.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.2465, allocations: 0 / 436.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2465, allocations: 4 kB / 436.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2465, allocations: 4 kB / 436.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.2467, allocations: 172.3 kB / 436.6 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.2467, allocations: 11.92 kB / 436.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.2467, allocations: 0 / 436.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.772e-05/0.2468, allocations: 4 kB / 436.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.2468, allocations: 0 / 436.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.2468, allocations: 8 kB / 436.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.247, allocations: 99.25 kB / 436.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.247, allocations: 0 / 436.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002279/0.2472, allocations: 12 kB / 436.7 MB, free: 2.008 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 0.0001003/0.2473, allocations: 102.5 kB / 436.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001394/0.2474, allocations: 31.92 kB / 436.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2474, allocations: 3.938 kB / 436.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.271e-05/0.2475, allocations: 7.984 kB / 436.9 MB, free: 1.859 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.2478, allocations: 23.95 kB / 436.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/0.2482, allocations: 192 kB / 437.1 MB, free: 1.613 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.978e-05/0.2483, allocations: 75.66 kB / 437.1 MB, free: 1.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.2483, allocations: 11.42 kB / 437.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2483, allocations: 0 / 437.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of Templates: time 0.002232/0.2506, allocations: 0.69 MB / 437.8 MB, free: 0.8203 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 -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: 6.8001322210766375]