Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.00172/0.00172, allocations: 99.97 kB / 21.18 MB, free: 0.6562 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.002074/0.002074, allocations: 185 kB / 24.45 MB, free: 3.98 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.487/1.487, allocations: 225.7 MB / 253.3 MB, free: 12.86 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.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 51.91 kB / 371.6 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2489, allocations: 52.18 MB / 423.8 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002898/0.2518, allocations: 1.569 MB / 425.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000847/0.2526, allocations: 439 kB / 425.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.446e-05/0.2527, allocations: 3.938 kB / 425.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.423e-05/0.2527, allocations: 0 / 425.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.2529, allocations: 19.84 kB / 425.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.2531, allocations: 39.84 kB / 425.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.2532, allocations: 39.84 kB / 425.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.321e-05/0.2533, allocations: 4 kB / 425.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.701e-05/0.2533, allocations: 19.92 kB / 425.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.374e-05/0.2534, allocations: 19.92 kB / 426 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.2534, allocations: 7.938 kB / 426 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.448e-05/0.2534, allocations: 4 kB / 426 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.2535, allocations: 11.98 kB / 426 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.868e-05/0.2535, allocations: 19.8 kB / 426 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.2536, allocations: 50.66 kB / 426.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2536, allocations: 0 / 426.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2536, allocations: 0 / 426.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.2536, allocations: 0 / 426.1 MB, free: 12.41 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.0004635/0.2541, allocations: 302 kB / 426.4 MB, free: 12.08 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.2541, allocations: 12.03 kB / 426.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.2541, allocations: 8.891 kB / 426.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.2544, allocations: 128.9 kB / 426.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.2544, allocations: 4.375 kB / 426.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.2544, allocations: 384 / 426.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.2546, allocations: 105.3 kB / 426.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.2546, allocations: 0 / 426.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.2546, allocations: 0 / 426.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2546, allocations: 4 kB / 426.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.806e-05/0.2547, allocations: 23.92 kB / 426.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.255, allocations: 201.5 kB / 426.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.414e-05/0.2551, allocations: 53.09 kB / 426.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.167e-05/0.2551, allocations: 21.77 kB / 426.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.2552, allocations: 0 / 426.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.2552, allocations: 34.56 kB / 426.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.2552, allocations: 0 / 426.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.000229/0.2554, allocations: 69.56 kB / 427 MB, free: 11.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.2555, allocations: 81.11 kB / 427.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.2556, allocations: 133.8 kB / 427.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.2556, allocations: 25.7 kB / 427.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.2557, allocations: 92.06 kB / 427.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.2557, allocations: 15.88 kB / 427.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.2557, allocations: 17.67 kB / 427.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2559, allocations: 314.8 kB / 427.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.466e-05/0.2559, allocations: 16.17 kB / 427.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.055e-05/0.256, allocations: 21.72 kB / 427.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.795e-05/0.256, allocations: 29.7 kB / 427.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2561, allocations: 3.938 kB / 427.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001193/0.2562, allocations: 57.61 kB / 427.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.2562, allocations: 4 kB / 427.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.2562, allocations: 128 / 427.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.2562, allocations: 4 kB / 427.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.471e-05/0.2563, allocations: 8 kB / 427.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.2563, allocations: 0 / 427.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.45e-05/0.2563, allocations: 3.984 kB / 427.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.2563, allocations: 4 kB / 427.8 MB, free: 10.43 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: 0 () * 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.89e-05/0.2564, allocations: 117.8 kB / 427.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.434e-05/0.2565, allocations: 45.58 kB / 428 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.589e-05/0.2565, allocations: 7.812 kB / 428 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.2565, allocations: 0 / 428 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2565, allocations: 8.031 kB / 428 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.2565, allocations: 0 / 428 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.2567, allocations: 117.2 kB / 428.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2567, allocations: 0 / 428.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-05/0.2567, allocations: 7.984 kB / 428.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2567, allocations: 4 kB / 428.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.2567, allocations: 0 / 428.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2567, allocations: 0 / 428.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2567, allocations: 0 / 428.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.2569, allocations: 168.2 kB / 428.3 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.2569, allocations: 15.95 kB / 428.3 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.257, allocations: 0 / 428.3 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.837e-05/0.257, allocations: 3.984 kB / 428.3 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.2571, allocations: 4 kB / 428.3 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.2571, allocations: 0 / 428.3 MB, free: 9.875 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.923e-05/0.2571, allocations: 110.2 kB / 428.4 MB, free: 9.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2571, allocations: 3.938 kB / 428.4 MB, free: 9.766 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002205/0.2574, allocations: 4 kB / 428.4 MB, free: 9.762 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: 0 () * 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 9.936e-05/0.2575, allocations: 95.28 kB / 428.5 MB, free: 9.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.2576, allocations: 23.98 kB / 428.5 MB, free: 9.637 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2576, allocations: 0 / 428.5 MB, free: 9.637 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.913e-05/0.2576, allocations: 15.94 kB / 428.6 MB, free: 9.621 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.2579, allocations: 19.89 kB / 428.6 MB, free: 9.602 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.2583, allocations: 185.5 kB / 428.8 MB, free: 9.383 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.954e-05/0.2584, allocations: 75.47 kB / 428.8 MB, free: 9.289 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.2584, allocations: 11.44 kB / 428.8 MB, free: 9.277 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2584, allocations: 0 / 428.8 MB, free: 9.277 MB / 334.1 MB Notification: Performance of Templates: time 0.00216/0.2606, allocations: 0.7019 MB / 429.5 MB, free: 8.578 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.700774327851832]