Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001029/0.001029, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001707/0.002736, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007573/0.0007573, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001019/0.001776, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.028/1.028, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09269/1.121, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.399e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002392/0.002416, allocations: 1.633 MB / 246.6 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002438/0.00266, allocations: 152.2 kB / 246.8 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.081e-05/0.002731, allocations: 3.938 kB / 246.8 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.002767, allocations: 3.938 kB / 246.8 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.274e-05/0.00284, allocations: 7.922 kB / 246.8 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.003005, allocations: 35.84 kB / 246.8 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.885e-05/0.003104, allocations: 31.92 kB / 246.9 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.708e-05/0.003191, allocations: 11.98 kB / 246.9 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.796e-05/0.003259, allocations: 27.91 kB / 246.9 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.537e-05/0.003305, allocations: 15.92 kB / 246.9 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.003328, allocations: 0 / 246.9 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/0.00334, allocations: 8 kB / 246.9 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.421e-05/0.003384, allocations: 12 kB / 246.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.742e-05/0.003411, allocations: 7.938 kB / 246.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.232e-05/0.003504, allocations: 35.84 kB / 247 MB, free: 11.67 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-05/0.003517, allocations: 0 / 247 MB, free: 11.67 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.003518, allocations: 0 / 247 MB, free: 11.67 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.003533, allocations: 0 / 247 MB, free: 11.67 MB / 250.7 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.000361/0.003894, allocations: 280.3 kB / 247.3 MB, free: 11.37 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.003929, allocations: 12.62 kB / 247.3 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.003954, allocations: 8.875 kB / 247.3 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.004105, allocations: 137.6 kB / 247.4 MB, free: 11.19 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.004113, allocations: 4.375 kB / 247.4 MB, free: 11.19 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.004121, allocations: 4.375 kB / 247.4 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.004283, allocations: 114.3 kB / 247.5 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.00429, allocations: 192 / 247.5 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-06/0.004295, allocations: 4.375 kB / 247.5 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.004299, allocations: 384 / 247.5 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.678e-05/0.004316, allocations: 19.86 kB / 247.6 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.004468, allocations: 145.2 kB / 247.7 MB, free: 10.87 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.004581, allocations: 57.06 kB / 247.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.978e-05/0.004601, allocations: 13.78 kB / 247.8 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.004618, allocations: 7.984 kB / 247.8 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.004635, allocations: 30.56 kB / 247.8 MB, free: 10.73 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.004636, allocations: 0 / 247.8 MB, free: 10.73 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 9.806e-05/0.004734, allocations: 53.62 kB / 247.9 MB, free: 10.67 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.004774, allocations: 85.17 kB / 247.9 MB, free: 10.57 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.112e-05/0.004835, allocations: 126.7 kB / 248.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.004846, allocations: 33.7 kB / 248.1 MB, free: 10.39 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.118e-05/0.004877, allocations: 88.06 kB / 248.2 MB, free: 10.3 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.684e-06/0.004885, allocations: 3.953 kB / 248.2 MB, free: 10.3 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.004909, allocations: 17.7 kB / 248.2 MB, free: 10.27 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.531e-05/0.004984, allocations: 318.8 kB / 248.5 MB, free: 9.953 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.599e-06/0.004989, allocations: 0 / 248.5 MB, free: 9.953 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-06/0.004994, allocations: 0 / 248.5 MB, free: 9.953 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.533e-05/0.00501, allocations: 12.8 kB / 248.5 MB, free: 9.938 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.005012, allocations: 4.062 kB / 248.5 MB, free: 9.934 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.573e-05/0.005048, allocations: 33.69 kB / 248.6 MB, free: 9.895 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.00506, allocations: 8 kB / 248.6 MB, free: 9.887 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.005064, allocations: 0 / 248.6 MB, free: 9.887 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.655e-06/0.005072, allocations: 0 / 248.6 MB, free: 9.887 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.105e-05/0.005113, allocations: 7.875 kB / 248.6 MB, free: 9.879 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.005118, allocations: 4 kB / 248.6 MB, free: 9.875 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.099e-05/0.005129, allocations: 4 kB / 248.6 MB, free: 9.871 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-06/0.005132, allocations: 0 / 248.6 MB, free: 9.871 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.612e-05/0.005188, allocations: 108.7 kB / 248.7 MB, free: 9.754 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.005222, allocations: 49.69 kB / 248.7 MB, free: 9.699 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.658e-05/0.005249, allocations: 8.328 kB / 248.8 MB, free: 9.691 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.005251, allocations: 0 / 248.8 MB, free: 9.691 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.005255, allocations: 7.938 kB / 248.8 MB, free: 9.684 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.005257, allocations: 0 / 248.8 MB, free: 9.684 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.334e-05/0.005341, allocations: 77.88 kB / 248.8 MB, free: 9.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.005343, allocations: 0 / 248.8 MB, free: 9.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.177e-05/0.005374, allocations: 8 kB / 248.8 MB, free: 9.582 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/0.005397, allocations: 15.88 kB / 248.9 MB, free: 9.566 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.005399, allocations: 0 / 248.9 MB, free: 9.566 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.005404, allocations: 8 kB / 248.9 MB, free: 9.559 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.005405, allocations: 3.938 kB / 248.9 MB, free: 9.555 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.005407, allocations: 3.938 kB / 248.9 MB, free: 9.551 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.094e-05/0.005478, allocations: 132.4 kB / 249 MB, free: 9.402 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-06/0.005487, allocations: 4 kB / 249 MB, free: 9.398 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.877e-05/0.005516, allocations: 4 kB / 249 MB, free: 9.395 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.005535, allocations: 0 / 249 MB, free: 9.395 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.005538, allocations: 0 / 249 MB, free: 9.395 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.045e-05/0.005559, allocations: 31.86 kB / 249 MB, free: 9.363 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005559, allocations: 0 / 249 MB, free: 9.363 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001052/0.005664, allocations: 4 kB / 249 MB, free: 9.359 MB / 250.7 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 6.702e-05/0.005731, allocations: 84.39 kB / 249.1 MB, free: 9.266 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.527e-05/0.005786, allocations: 16.84 kB / 249.1 MB, free: 9.246 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.005789, allocations: 4 kB / 249.1 MB, free: 9.242 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.105e-06/0.005797, allocations: 4.859 kB / 249.2 MB, free: 9.234 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.005972, allocations: 32.27 kB / 249.2 MB, free: 9.203 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.006328, allocations: 155 kB / 249.3 MB, free: 9.023 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.889e-05/0.006367, allocations: 63.47 kB / 249.4 MB, free: 8.941 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.259e-05/0.00639, allocations: 0 / 249.4 MB, free: 8.941 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.006437, allocations: 59.36 kB / 249.5 MB, free: 8.883 MB / 250.7 MB Notification: Performance of SimCode: time 7.71e-07/0.006438, allocations: 0 / 249.5 MB, free: 8.883 MB / 250.7 MB Notification: Performance of Templates: time 0.00211/0.008548, allocations: 0.5394 MB / 250 MB, free: 8.352 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5319164330139756]