Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_SteadyState") translateModel(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001306/0.001306, allocations: 194 kB / 16.1 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.263/1.263, allocations: 226.6 MB / 243.4 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007343/0.0007344, allocations: 99.61 kB / 295.5 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2934/0.2934, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002594/0.0002594, allocations: 8 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2948, allocations: 62.95 MB / 0.5159 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.002587/0.2974, allocations: 2.825 MB / 0.5186 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.2995, allocations: 1.51 MB / 0.5201 GB, free: 33.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002626/0.2998, allocations: 19.94 kB / 0.5201 GB, free: 33.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003999/0.3002, allocations: 110.4 kB / 0.5202 GB, free: 33.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003188/0.3005, allocations: 151.3 kB / 0.5204 GB, free: 33.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008634/0.3014, allocations: 425.8 kB / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005967/0.302, allocations: 0.7771 MB / 0.5215 GB, free: 33.17 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002837/0.3023, allocations: 225 kB / 0.5217 GB, free: 33.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003248/0.3026, allocations: 287.8 kB / 0.522 GB, free: 32.92 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/0.303, allocations: 329 kB / 0.5223 GB, free: 32.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.409e-05/0.303, allocations: 20.69 kB / 0.5224 GB, free: 32.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.569e-05/0.3031, allocations: 23.59 kB / 0.5224 GB, free: 32.79 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.3033, allocations: 148.3 kB / 0.5225 GB, free: 32.72 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.3035, allocations: 296.8 kB / 0.5228 GB, free: 32.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.3038, allocations: 0.5319 MB / 0.5233 GB, free: 32.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3038, allocations: 4 kB / 0.5233 GB, free: 32.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3038, allocations: 0 / 0.5233 GB, free: 32.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.3038, allocations: 0 / 0.5233 GB, free: 32.37 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001718/0.3056, allocations: 1.048 MB / 0.5243 GB, free: 31.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.3056, allocations: 8.562 kB / 0.5244 GB, free: 31.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.3058, allocations: 107.8 kB / 0.5245 GB, free: 31.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006839/0.3065, allocations: 0.5513 MB / 0.525 GB, free: 31.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.3066, allocations: 37.94 kB / 0.525 GB, free: 31.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.201e-05/0.3066, allocations: 59.25 kB / 0.5251 GB, free: 31.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008953/0.3075, allocations: 0.6303 MB / 0.5257 GB, free: 30.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.3076, allocations: 4 kB / 0.5257 GB, free: 30.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.088e-05/0.3076, allocations: 21.06 kB / 0.5257 GB, free: 30.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.3077, allocations: 13.69 kB / 0.5257 GB, free: 30.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009441/0.3086, allocations: 496.3 kB / 0.5262 GB, free: 30.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002823/0.3114, allocations: 2.649 MB / 0.5288 GB, free: 28.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009364/0.3124, allocations: 0.5814 MB / 0.5294 GB, free: 28.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004936/0.3129, allocations: 270.8 kB / 0.5296 GB, free: 28.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.65e-05/0.3129, allocations: 9.656 kB / 0.5296 GB, free: 28.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.313, allocations: 53.33 kB / 0.5297 GB, free: 28.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.024e-06/0.313, allocations: 0 / 0.5297 GB, free: 28.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.002123/0.3151, allocations: 1.21 MB / 0.5309 GB, free: 27.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.3152, allocations: 137.2 kB / 0.531 GB, free: 27.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006771/0.3159, allocations: 0.646 MB / 0.5316 GB, free: 27.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.3159, allocations: 36.67 kB / 0.5317 GB, free: 27.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.3161, allocations: 360.1 kB / 0.532 GB, free: 27.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.3162, allocations: 174.1 kB / 0.5322 GB, free: 27.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.3162, allocations: 15.03 kB / 0.5322 GB, free: 27.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.235e-05/0.3163, allocations: 330.4 kB / 0.5325 GB, free: 26.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000549/0.3168, allocations: 280.5 kB / 0.5328 GB, free: 26.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005909/0.3174, allocations: 438.3 kB / 0.5332 GB, free: 26.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.3186, allocations: 0.7061 MB / 0.5339 GB, free: 26.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3186, allocations: 5.859 kB / 0.5339 GB, free: 26.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001499/0.3201, allocations: 0.8554 MB / 0.5347 GB, free: 25.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.432e-05/0.3202, allocations: 226 kB / 0.5349 GB, free: 25.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.3202, allocations: 5.25 kB / 0.5349 GB, free: 25.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002156/0.3204, allocations: 61.48 kB / 0.535 GB, free: 25.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008595/0.3213, allocations: 205.6 kB / 0.5352 GB, free: 25.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009992/0.3223, allocations: 1.501 MB / 0.5367 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005218/0.3228, allocations: 89.27 kB / 0.5367 GB, free: 24.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.3229, allocations: 22.78 kB / 0.5368 GB, free: 24.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.691e-06/0.3229, allocations: 2.688 kB / 0.5368 GB, free: 24.01 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001296/0.3242, allocations: 0.7383 MB / 0.5375 GB, free: 23.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3242, allocations: 5.375 kB / 0.5375 GB, free: 23.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001373/0.3244, allocations: 56.47 kB / 0.5376 GB, free: 23.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008039/0.3252, allocations: 206.7 kB / 0.5378 GB, free: 23.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000886/0.3261, allocations: 1.5 MB / 0.5392 GB, free: 22.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/0.3266, allocations: 79.23 kB / 0.5393 GB, free: 22.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.3266, allocations: 30.47 kB / 0.5393 GB, free: 22.33 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003133/0.3269, allocations: 287.8 kB / 0.5396 GB, free: 22.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.3271, allocations: 74.19 kB / 0.5397 GB, free: 22.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.3272, allocations: 88.48 kB / 0.5397 GB, free: 21.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3273, allocations: 5.406 kB / 0.5398 GB, free: 21.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3273, allocations: 1.031 kB / 0.5398 GB, free: 21.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.3273, allocations: 1.219 kB / 0.5398 GB, free: 21.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.3284, allocations: 0.8742 MB / 0.5406 GB, free: 21.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3284, allocations: 4 kB / 0.5406 GB, free: 21.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006592/0.3291, allocations: 121.4 kB / 0.5407 GB, free: 21.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.3291, allocations: 2.031 kB / 0.5407 GB, free: 21.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.794e-05/0.3292, allocations: 16.69 kB / 0.5407 GB, free: 21.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.3292, allocations: 2.969 kB / 0.5408 GB, free: 21.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3292, allocations: 5.188 kB / 0.5408 GB, free: 21.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.331, allocations: 1.198 MB / 0.5419 GB, free: 20.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/0.3312, allocations: 193.6 kB / 0.5421 GB, free: 20.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.659e-05/0.3313, allocations: 15.5 kB / 0.5421 GB, free: 20.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004951/0.3318, allocations: 61.02 kB / 0.5422 GB, free: 20.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.332, allocations: 39.86 kB / 0.5422 GB, free: 20.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.282e-05/0.332, allocations: 14.77 kB / 0.5422 GB, free: 20.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006617/0.3327, allocations: 458.9 kB / 0.5427 GB, free: 20.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3327, allocations: 0 / 0.5427 GB, free: 20.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008117/0.3335, allocations: 194.2 kB / 0.5429 GB, free: 20.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001202/0.3336, allocations: 109.5 kB / 0.543 GB, free: 20.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002488/0.3361, allocations: 1.249 MB / 0.5442 GB, free: 19.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3361, allocations: 0.875 kB / 0.5442 GB, free: 19.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007103/0.3369, allocations: 307.2 kB / 0.5445 GB, free: 19.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.338, allocations: 172.9 kB / 0.5446 GB, free: 19.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.3405, allocations: 1.759 MB / 0.5464 GB, free: 18.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/0.341, allocations: 0.9518 MB / 0.5473 GB, free: 17.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/0.3412, allocations: 46.97 kB / 0.5473 GB, free: 17.98 MB / 378.7 MB Notification: Performance of SimCode: time 4.5e-07/0.3412, allocations: 0 / 0.5473 GB, free: 17.98 MB / 378.7 MB Notification: Performance of Templates: time 0.01563/0.3569, allocations: 9.956 MB / 0.5571 GB, free: 14.23 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_SteadyState.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_SteadyState --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_SteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_SteadyState/Continuous_SteadyState.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches