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.001752/0.001752, allocations: 107.6 kB / 21.19 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.002265/0.002265, allocations: 213.3 kB / 24.48 MB, free: 3.957 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.549/1.549, allocations: 230.6 MB / 258.2 MB, free: 7.738 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.001533/0.001533, allocations: 47.94 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2407, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002945/0.2437, allocations: 1.524 MB / 433.9 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004111/0.2441, allocations: 139.4 kB / 434 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.186e-05/0.2442, allocations: 0 / 434 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5e-05/0.2442, allocations: 11.92 kB / 434 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.2443, allocations: 7.938 kB / 434 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.2446, allocations: 43.89 kB / 434.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.2447, allocations: 31.86 kB / 434.1 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.2448, allocations: 8 kB / 434.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.312e-05/0.2448, allocations: 19.91 kB / 434.1 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.973e-05/0.2449, allocations: 11.94 kB / 434.1 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.2449, allocations: 4 kB / 434.1 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.152e-05/0.2449, allocations: 4 kB / 434.1 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.514e-05/0.245, allocations: 19.86 kB / 434.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.245, allocations: 15.88 kB / 434.2 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.2451, allocations: 50.42 kB / 434.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2451, allocations: 0 / 434.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2451, allocations: 4 kB / 434.2 MB, free: 4.809 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.2451, allocations: 3.938 kB / 434.2 MB, free: 4.805 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.0004632/0.2456, allocations: 298 kB / 434.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.2456, allocations: 8.031 kB / 434.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.2457, allocations: 8.891 kB / 434.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.2459, allocations: 134.4 kB / 434.7 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.246, allocations: 8.312 kB / 434.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.246, allocations: 4.359 kB / 434.7 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003023/0.2463, allocations: 117.6 kB / 434.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.2463, allocations: 192 / 434.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.2463, allocations: 7.938 kB / 434.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.2463, allocations: 0 / 434.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.206e-05/0.2464, allocations: 15.98 kB / 434.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003203/0.2467, allocations: 213.4 kB / 435 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.2469, allocations: 57.2 kB / 435.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.596e-05/0.2469, allocations: 29.7 kB / 435.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.247, allocations: 7.938 kB / 435.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.247, allocations: 34.56 kB / 435.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.247, allocations: 0 / 435.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002469/0.2472, allocations: 77.56 kB / 435.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.2473, allocations: 85.09 kB / 435.3 MB, free: 3.555 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.2474, allocations: 136.7 kB / 435.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.2474, allocations: 29.83 kB / 435.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.2475, allocations: 88.14 kB / 435.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.909e-06/0.2475, allocations: 3.953 kB / 435.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.2475, allocations: 21.7 kB / 435.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2477, allocations: 318.8 kB / 435.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.997e-05/0.2477, allocations: 7.984 kB / 435.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.792e-05/0.2478, allocations: 27.44 kB / 435.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.004e-05/0.2479, allocations: 51.36 kB / 436 MB, free: 2.824 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2479, allocations: 3.938 kB / 436 MB, free: 2.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001334/0.248, allocations: 73.48 kB / 436.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.248, allocations: 4 kB / 436.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.248, allocations: 4 kB / 436.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.248, allocations: 0 / 436.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.895e-05/0.2481, allocations: 8 kB / 436.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.2481, allocations: 4.125 kB / 436.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.867e-05/0.2481, allocations: 15.88 kB / 436.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.2481, allocations: 0 / 436.1 MB, free: 2.707 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 8.799e-05/0.2482, allocations: 117.8 kB / 436.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.973e-05/0.2483, allocations: 53.56 kB / 436.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.37e-05/0.2483, allocations: 8.344 kB / 436.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2483, allocations: 4 kB / 436.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.2483, allocations: 0 / 436.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2483, allocations: 0 / 436.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.2485, allocations: 117.6 kB / 436.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2485, allocations: 4 kB / 436.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.973e-05/0.2485, allocations: 12 kB / 436.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.2485, allocations: 3.938 kB / 436.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.2486, allocations: 4 kB / 436.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.2486, allocations: 0 / 436.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2486, allocations: 0 / 436.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.2487, allocations: 172.3 kB / 436.6 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.2488, allocations: 19.91 kB / 436.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.2488, allocations: 4 kB / 436.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.654e-05/0.2488, allocations: 0 / 436.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.2489, allocations: 4 kB / 436.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-06/0.2489, allocations: 8 kB / 436.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.647e-05/0.249, allocations: 107.2 kB / 436.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.249, allocations: 0 / 436.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002169/0.2492, allocations: 4 kB / 436.7 MB, free: 2.004 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.576e-05/0.2493, allocations: 95.25 kB / 436.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.2494, allocations: 31.91 kB / 436.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2494, allocations: 256 / 436.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.273e-05/0.2495, allocations: 12 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.0003191/0.2498, 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.0003333/0.2501, allocations: 195.1 kB / 437.1 MB, free: 1.613 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.589e-05/0.2502, allocations: 75.33 kB / 437.1 MB, free: 1.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.2502, allocations: 7.438 kB / 437.1 MB, free: 1.512 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2502, allocations: 0 / 437.1 MB, free: 1.512 MB / 334.1 MB Notification: Performance of Templates: time 0.002277/0.2525, allocations: 0.703 MB / 437.9 MB, free: 0.8086 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.8815201150137]