Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.001746/0.001746, allocations: 103.6 kB / 21.19 MB, free: 0.6562 MB / 14.72 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.002165/0.002165, allocations: 211.5 kB / 24.48 MB, free: 3.949 MB / 14.72 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.493/1.493, allocations: 230.5 MB / 258.1 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 59.91 kB / 379 MB, free: 2.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2904, allocations: 53.42 MB / 432.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003431/0.2938, allocations: 1.848 MB / 434.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009183/0.2947, allocations: 466.8 kB / 434.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.768e-05/0.2948, allocations: 3.938 kB / 434.7 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.2949, allocations: 11.88 kB / 434.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.78e-05/0.295, allocations: 23.78 kB / 434.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.2951, allocations: 35.97 kB / 434.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.2953, allocations: 103.6 kB / 434.9 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.2955, allocations: 32.52 kB / 434.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.509e-05/0.2955, allocations: 43.8 kB / 434.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.972e-05/0.2956, allocations: 43.77 kB / 435 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.2957, allocations: 8 kB / 435 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.39e-05/0.2957, allocations: 8 kB / 435 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.737e-05/0.2957, allocations: 11.94 kB / 435 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.2958, allocations: 39.86 kB / 435 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.2959, allocations: 107.1 kB / 435.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2959, allocations: 4 kB / 435.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.296, allocations: 4 kB / 435.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.296, allocations: 0 / 435.1 MB, free: 3.742 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005568/0.2965, allocations: 322.2 kB / 435.5 MB, free: 3.398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2966, allocations: 11.98 kB / 435.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.2966, allocations: 12.89 kB / 435.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.2969, allocations: 146.3 kB / 435.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.2969, allocations: 12.56 kB / 435.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.2969, allocations: 16.31 kB / 435.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.2972, allocations: 122.9 kB / 435.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.2972, allocations: 3.938 kB / 435.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.2972, allocations: 4 kB / 435.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.2972, allocations: 4 kB / 435.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000221/0.2975, allocations: 67.94 kB / 435.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006483/0.2981, allocations: 423.6 kB / 436.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.2983, allocations: 86.47 kB / 436.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.2984, allocations: 32.84 kB / 436.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.2985, allocations: 0 / 436.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.2985, allocations: 38.55 kB / 436.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.2985, allocations: 0 / 436.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004064/0.2989, allocations: 121.6 kB / 436.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.2989, allocations: 51.41 kB / 436.6 MB, free: 2.156 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.2991, allocations: 140.5 kB / 436.7 MB, free: 2.012 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.2991, allocations: 25.7 kB / 436.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.025e-05/0.2992, allocations: 115.9 kB / 436.9 MB, free: 1.863 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.2992, allocations: 23.94 kB / 436.9 MB, free: 1.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.028e-05/0.2993, allocations: 29.67 kB / 436.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.2994, allocations: 322.8 kB / 437.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.2995, allocations: 39.91 kB / 437.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.2996, allocations: 68.27 kB / 437.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.2998, allocations: 100.2 kB / 437.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.2999, allocations: 11.88 kB / 437.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002814/0.3001, allocations: 133.5 kB / 437.6 MB, free: 1.098 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3002, allocations: 8 kB / 437.6 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3002, allocations: 0 / 437.6 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3002, allocations: 0 / 437.6 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.3003, allocations: 39.91 kB / 437.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3003, allocations: 4 kB / 437.6 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.995e-05/0.3004, allocations: 7.984 kB / 437.6 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.3004, allocations: 4 kB / 437.6 MB, free: 1.035 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 13 * 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 9.537e-05/0.3005, allocations: 129.9 kB / 437.8 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.3005, allocations: 11.89 kB / 437.8 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.401e-05/0.3006, allocations: 8.375 kB / 437.8 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3006, allocations: 0 / 437.8 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3006, allocations: 0 / 437.8 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3006, allocations: 4 kB / 437.8 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.3008, allocations: 141.1 kB / 437.9 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3008, allocations: 0 / 437.9 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.3009, allocations: 19.98 kB / 438 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3009, allocations: 4 kB / 438 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.3009, allocations: 4 kB / 438 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.3009, allocations: 4 kB / 438 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3009, allocations: 3.984 kB / 438 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004103/0.3013, allocations: 239.3 kB / 438.2 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.556e-05/0.3013, allocations: 7.953 kB / 438.2 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.3013, allocations: 0 / 438.2 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.937e-05/0.3014, allocations: 8.031 kB / 438.2 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.3015, allocations: 8 kB / 438.2 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.3015, allocations: 4 kB / 438.2 MB, free: 400 kB / 334.1 MB Notification: Performance of sorting global known variables: time 6.513e-05/0.3015, allocations: 95.27 kB / 438.3 MB, free: 304 kB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3015, allocations: 0 / 438.3 MB, free: 304 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002377/0.3018, allocations: 20 kB / 438.3 MB, free: 284 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (load.phi,load.w,PI.x) * 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 (7): * Single equations (assignments): 7 * 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.0001005/0.3019, allocations: 103.3 kB / 438.4 MB, free: 172 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.3022, allocations: 76.11 kB / 438.5 MB, free: 96 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3022, allocations: 8 kB / 438.5 MB, free: 88 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.3023, allocations: 39.91 kB / 438.6 MB, free: 48 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.3026, allocations: 31.09 kB / 438.6 MB, free: 20 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007312/0.3033, allocations: 390.4 kB / 439 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.769e-05/0.3034, allocations: 96.14 kB / 439.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/0.3035, allocations: 11.44 kB / 439.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3035, allocations: 0 / 439.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of Templates: time 0.003136/0.3066, allocations: 1.32 MB / 440.4 MB, free: 14.16 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.887185215950012]