Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 108.6 kB / 21.18 MB, free: 0.7812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 185.9 kB / 24.47 MB, free: 4.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 253.3 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 47.92 kB / 371.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2386, allocations: 52.18 MB / 423.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003/0.2416, allocations: 1.533 MB / 425.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00038/0.242, allocations: 131.6 kB / 425.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.645e-05/0.2421, allocations: 3.938 kB / 425.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.032e-05/0.2421, allocations: 4 kB / 425.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.2423, allocations: 15.91 kB / 425.6 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.2425, allocations: 35.86 kB / 425.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.566e-05/0.2426, allocations: 27.91 kB / 425.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.833e-05/0.2427, allocations: 8 kB / 425.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.372e-05/0.2427, allocations: 15.92 kB / 425.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.392e-05/0.2428, allocations: 15.88 kB / 425.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.2428, allocations: 4 kB / 425.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.336e-06/0.2428, allocations: 0 / 425.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.2428, allocations: 7.984 kB / 425.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.261e-05/0.2429, allocations: 23.81 kB / 425.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.243, allocations: 43.47 kB / 425.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.243, allocations: 4 kB / 425.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.243, allocations: 0 / 425.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.243, allocations: 0 / 425.7 MB, free: 12.79 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004453/0.2434, allocations: 287.7 kB / 426 MB, free: 12.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2435, allocations: 8.031 kB / 426 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.2435, allocations: 8.891 kB / 426 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.2437, allocations: 134.3 kB / 426.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.2438, allocations: 8.375 kB / 426.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.864e-06/0.2438, allocations: 384 / 426.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.244, allocations: 93.61 kB / 426.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.244, allocations: 192 / 426.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.244, allocations: 7.875 kB / 426.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.244, allocations: 4 kB / 426.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.193e-05/0.2441, allocations: 19.98 kB / 426.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.2444, allocations: 220.9 kB / 426.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.187e-05/0.2445, allocations: 53.02 kB / 426.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.161e-05/0.2446, allocations: 25.78 kB / 426.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.2446, allocations: 3.984 kB / 426.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.2446, allocations: 38.48 kB / 426.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2446, allocations: 0 / 426.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002302/0.2448, allocations: 57.64 kB / 426.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.2449, allocations: 85.3 kB / 426.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.2451, allocations: 142.1 kB / 426.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.2451, allocations: 25.7 kB / 426.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/0.2451, allocations: 80.14 kB / 427 MB, free: 11.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.135e-05/0.2451, allocations: 7.953 kB / 427 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.2452, allocations: 17.72 kB / 427 MB, free: 11.28 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2453, allocations: 310.8 kB / 427.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.087e-05/0.2454, allocations: 11.98 kB / 427.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.267e-05/0.2454, allocations: 17.72 kB / 427.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.084e-05/0.2455, allocations: 29.7 kB / 427.4 MB, free: 10.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.2455, allocations: 3.938 kB / 427.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001206/0.2456, allocations: 53.61 kB / 427.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2456, allocations: 7.562 kB / 427.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.2456, allocations: 4 kB / 427.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.2456, allocations: 0 / 427.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.012e-05/0.2457, allocations: 4 kB / 427.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2457, allocations: 4 kB / 427.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.797e-05/0.2457, allocations: 4 kB / 427.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.2457, allocations: 3.938 kB / 427.5 MB, free: 10.81 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.934e-05/0.2458, allocations: 125.7 kB / 427.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.347e-05/0.2459, allocations: 37.66 kB / 427.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.904e-05/0.2459, allocations: 15.83 kB / 427.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2459, allocations: 3.984 kB / 427.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2459, allocations: 0 / 427.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.2459, allocations: 7.938 kB / 427.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.2461, allocations: 136.7 kB / 427.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2461, allocations: 0 / 427.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.2461, allocations: 7.984 kB / 427.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2461, allocations: 0 / 427.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.2462, allocations: 0 / 427.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2462, allocations: 4 kB / 427.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2462, allocations: 4 kB / 427.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.2463, allocations: 160.2 kB / 428 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.2464, allocations: 11.94 kB / 428 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.2464, allocations: 4 kB / 428 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.705e-05/0.2464, allocations: 0 / 428 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.2465, allocations: 11.95 kB / 428 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.2465, allocations: 4 kB / 428 MB, free: 10.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.2466, allocations: 107 kB / 428.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2466, allocations: 4 kB / 428.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.2468, allocations: 0 / 428.1 MB, free: 10.11 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: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001128/0.2469, allocations: 99.25 kB / 428.2 MB, free: 10 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.2471, allocations: 19.92 kB / 428.2 MB, free: 9.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2471, allocations: 4.125 kB / 428.2 MB, free: 9.977 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.758e-05/0.2471, allocations: 11.98 kB / 428.2 MB, free: 9.965 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.2474, allocations: 19.06 kB / 428.3 MB, free: 9.949 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.2478, allocations: 172.1 kB / 428.4 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.2481, allocations: 0.6883 MB / 429.1 MB, free: 9.027 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.2482, allocations: 7.438 kB / 429.1 MB, free: 9.02 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2482, allocations: 8.156 kB / 429.1 MB, free: 9.012 MB / 334.1 MB Notification: Performance of Templates: time 0.002302/0.2505, allocations: 0.6287 MB / 429.8 MB, free: 8.383 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.794567578006536]