Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.001692/0.001692, allocations: 84.34 kB / 20.95 MB, free: 3.457 MB / 18.57 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.001529/0.001529, allocations: 169.3 kB / 24.27 MB, free: 148 kB / 18.57 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.555/1.555, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.559e-05, allocations: 2.312 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003273/0.003298, allocations: 1.537 MB / 273.8 MB, free: 296 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004041/0.003702, allocations: 131.5 kB / 274 MB, free: 164 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.818e-05/0.00376, allocations: 0 / 274 MB, free: 164 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.936e-05/0.0038, allocations: 3.938 kB / 274 MB, free: 160 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.924e-05/0.003889, allocations: 7.984 kB / 274 MB, free: 152 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.004088, allocations: 43.72 kB / 274 MB, free: 108 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.543e-05/0.004173, allocations: 31.91 kB / 274.1 MB, free: 76 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.973e-05/0.004243, allocations: 4 kB / 274.1 MB, free: 72 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.821e-05/0.004291, allocations: 19.92 kB / 274.1 MB, free: 52 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.887e-05/0.00432, allocations: 7.984 kB / 274.1 MB, free: 44 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.004336, allocations: 4 kB / 274.1 MB, free: 40 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.474e-06/0.004344, allocations: 0 / 274.1 MB, free: 40 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.575e-05/0.00438, allocations: 7.938 kB / 274.1 MB, free: 32 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.004407, allocations: 15.92 kB / 274.1 MB, free: 16 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.004528, allocations: 35.89 kB / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.00453, allocations: 4 kB / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004531, allocations: 0 / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.004534, allocations: 0 / 274.2 MB, free: 15.98 MB / 266.7 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.0003972/0.004932, allocations: 290.1 kB / 274.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.004962, allocations: 8.031 kB / 274.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.005001, allocations: 8.891 kB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.005259, allocations: 137.6 kB / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.005269, allocations: 4.375 kB / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.005276, allocations: 384 / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.005499, allocations: 101.6 kB / 274.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-06/0.005505, allocations: 192 / 274.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-06/0.00551, allocations: 384 / 274.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.005514, allocations: 384 / 274.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.988e-05/0.005584, allocations: 15.92 kB / 274.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002718/0.005855, allocations: 201.4 kB / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.174e-05/0.005947, allocations: 49.14 kB / 275 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.95e-05/0.005997, allocations: 17.78 kB / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.006015, allocations: 4 kB / 275 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.006049, allocations: 38.5 kB / 275 MB, free: 14.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.00605, allocations: 0 / 275 MB, free: 14.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.000231/0.006281, allocations: 65.55 kB / 275.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.006348, allocations: 81.11 kB / 275.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.006484, allocations: 130.1 kB / 275.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.006503, allocations: 25.7 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.006564, allocations: 100.3 kB / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-06/0.006568, allocations: 0 / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.006608, allocations: 13.72 kB / 275.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.00677, allocations: 318.8 kB / 275.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.404e-05/0.006804, allocations: 7.984 kB / 275.7 MB, free: 14.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.365e-05/0.006828, allocations: 4 kB / 275.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.846e-05/0.006886, allocations: 16.84 kB / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.006887, allocations: 0 / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001093/0.006997, allocations: 57.64 kB / 275.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.00701, allocations: 8 kB / 275.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.007016, allocations: 3.938 kB / 275.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/0.007023, allocations: 0 / 275.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.041e-05/0.007064, allocations: 3.984 kB / 275.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.007068, allocations: 7.984 kB / 275.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.188e-05/0.00709, allocations: 0 / 275.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.007095, allocations: 4 kB / 275.8 MB, free: 14.07 MB / 266.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 8.867e-05/0.007184, allocations: 113.8 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.126e-05/0.007245, allocations: 41.72 kB / 276 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.007271, allocations: 15.75 kB / 276 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.007273, allocations: 0 / 276 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.007275, allocations: 0 / 276 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-06/0.007277, allocations: 3.938 kB / 276 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.007427, allocations: 117.3 kB / 276.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.007428, allocations: 0 / 276.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.007467, allocations: 7.984 kB / 276.1 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.007471, allocations: 3.984 kB / 276.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-06/0.007475, allocations: 0 / 276.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.00748, allocations: 3.938 kB / 276.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.007483, allocations: 8.031 kB / 276.2 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.007656, allocations: 144.4 kB / 276.3 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.432e-05/0.00769, allocations: 19.94 kB / 276.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-06/0.0077, allocations: 0 / 276.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.181e-05/0.007762, allocations: 7.938 kB / 276.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-05/0.007782, allocations: 3.938 kB / 276.3 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.007785, allocations: 0 / 276.3 MB, free: 13.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.596e-05/0.007871, allocations: 110.2 kB / 276.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007871, allocations: 0 / 276.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000215/0.008086, allocations: 11.97 kB / 276.4 MB, free: 13.41 MB / 266.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: 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 9.576e-05/0.008182, allocations: 95.25 kB / 276.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.762e-05/0.008269, allocations: 19.92 kB / 276.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.32e-07/0.00827, allocations: 0 / 276.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.31e-05/0.008303, allocations: 11.98 kB / 276.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.00856, allocations: 16.25 kB / 276.6 MB, free: 13.26 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002558/0.008816, allocations: 148.9 kB / 276.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.608e-05/0.008902, allocations: 67.34 kB / 276.8 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.432e-05/0.008916, allocations: 3.984 kB / 276.8 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.008939, allocations: 16.5 kB / 276.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of SimCode: time 3.91e-07/0.008939, allocations: 0 / 276.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of Templates: time 0.002489/0.01143, allocations: 492 kB / 277.3 MB, free: 12.52 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.330898563959636]