Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous_InitialState,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_3.2.3_ModelicaTest.Blocks.Continuous_InitialState") translateModel(ModelicaTest.Blocks.Continuous_InitialState,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_3.2.3_ModelicaTest.Blocks.Continuous_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 186.4 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008866/0.0008868, allocations: 90.53 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3271/0.3271, allocations: 43.46 MB / 358.6 MB, free: 52.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.338e-05/2.34e-05, allocations: 0 / 425.3 MB, free: 8.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1015, allocations: 58.84 MB / 484.1 MB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3122/0.4137, allocations: 96.01 MB / 0.5666 GB, free: 8.988 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.4139, allocations: 64.58 kB / 0.5666 GB, free: 8.926 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08053/0.4945, allocations: 28.04 MB / 0.594 GB, free: 12.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.4945, allocations: 0 / 0.594 GB, free: 12.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.283e-05/0.4946, allocations: 23.94 kB / 0.594 GB, free: 12.84 MB / 426.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.002208/0.4968, allocations: 0.9464 MB / 0.5949 GB, free: 11.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.4969, allocations: 12.03 kB / 0.595 GB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003396/0.4972, allocations: 90.95 kB / 0.595 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.4986, allocations: 0.5561 MB / 0.5956 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.217e-05/0.4986, allocations: 37 kB / 0.5956 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.4988, allocations: 59.89 kB / 0.5957 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009237/0.4997, allocations: 0.555 MB / 0.5962 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.4997, allocations: 4 kB / 0.5962 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.51e-05/0.4998, allocations: 16 kB / 0.5962 GB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.4998, allocations: 12 kB / 0.5963 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006721/0.5005, allocations: 374 kB / 0.5966 GB, free: 10.06 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004322/0.5048, allocations: 2.712 MB / 0.5993 GB, free: 7.254 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009125/0.5058, allocations: 484.5 kB / 0.5997 GB, free: 6.758 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.5062, allocations: 198.6 kB / 0.5999 GB, free: 6.555 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.367e-05/0.5063, allocations: 4.438 kB / 0.5999 GB, free: 6.551 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.5063, allocations: 42.56 kB / 0.6 GB, free: 6.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 3.045e-06/0.5063, allocations: 0 / 0.6 GB, free: 6.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.001594/0.5079, allocations: 0.8049 MB / 0.6007 GB, free: 5.684 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.5081, allocations: 137.4 kB / 0.6009 GB, free: 5.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008614/0.5089, allocations: 0.5469 MB / 0.6014 GB, free: 4.965 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.438e-05/0.509, allocations: 41.7 kB / 0.6014 GB, free: 4.918 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.5093, allocations: 352 kB / 0.6018 GB, free: 4.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.5094, allocations: 169.5 kB / 0.6019 GB, free: 4.402 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.5094, allocations: 16 kB / 0.602 GB, free: 4.387 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5096, allocations: 326 kB / 0.6023 GB, free: 4.062 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003677/0.51, allocations: 205.5 kB / 0.6025 GB, free: 3.863 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004651/0.5104, allocations: 371.4 kB / 0.6028 GB, free: 3.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/0.5109, allocations: 250.7 kB / 0.6031 GB, free: 3.188 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.5109, allocations: 7.938 kB / 0.6031 GB, free: 3.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001091/0.512, allocations: 0.6748 MB / 0.6037 GB, free: 2.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006763/0.5127, allocations: 1.746 MB / 0.6054 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.5127, allocations: 4 kB / 0.6054 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.5127, allocations: 8 kB / 0.6054 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/0.5134, allocations: 167.8 kB / 0.6056 GB, free: 452 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.262e-05/0.5135, allocations: 11.94 kB / 0.6056 GB, free: 440 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006151/0.5141, allocations: 91.58 kB / 0.6057 GB, free: 348 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.827e-05/0.5141, allocations: 24 kB / 0.6057 GB, free: 324 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.5142, allocations: 4 kB / 0.6057 GB, free: 320 kB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009281/0.5151, allocations: 0.5816 MB / 0.6063 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.5151, allocations: 4 kB / 0.6063 GB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.5151, allocations: 11.83 kB / 0.6063 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006196/0.5158, allocations: 156.2 kB / 0.6065 GB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.5158, allocations: 11.94 kB / 0.6065 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005495/0.5163, allocations: 91.53 kB / 0.6066 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.73e-05/0.5164, allocations: 24 kB / 0.6066 GB, free: 15.44 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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 prepare postOptimizeDAE: time 0.0001451/0.5166, allocations: 140.8 kB / 0.6067 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.5167, allocations: 75.11 kB / 0.6068 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.5169, allocations: 94.06 kB / 0.6069 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.517, allocations: 4 kB / 0.6069 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.517, allocations: 48 / 0.6069 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.517, allocations: 7.969 kB / 0.6069 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.5182, allocations: 0.8218 MB / 0.6077 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5183, allocations: 4 kB / 0.6077 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006347/0.5189, allocations: 115.9 kB / 0.6078 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.5189, allocations: 0 / 0.6078 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-05/0.519, allocations: 19.98 kB / 0.6078 GB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.519, allocations: 4 kB / 0.6078 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.519, allocations: 4 kB / 0.6078 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.5202, allocations: 0.9922 MB / 0.6088 GB, free: 13.06 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002683/0.5205, allocations: 192.2 kB / 0.609 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.844e-05/0.5206, allocations: 23.98 kB / 0.609 GB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005515/0.5211, allocations: 59.94 kB / 0.6091 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.5212, allocations: 43.94 kB / 0.6091 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.5213, allocations: 8 kB / 0.6091 GB, free: 12.72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004916/0.5218, allocations: 435.1 kB / 0.6095 GB, free: 12.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5218, allocations: 0 / 0.6095 GB, free: 12.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007444/0.5225, allocations: 208 kB / 0.6097 GB, free: 12.1 MB / 442.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 () * 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.0001839/0.5227, allocations: 120 kB / 0.6098 GB, free: 11.97 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.524, allocations: 0.8064 MB / 0.6106 GB, free: 11.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.5241, allocations: 0 / 0.6106 GB, free: 11.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003685/0.5244, allocations: 229.2 kB / 0.6108 GB, free: 10.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008535/0.5253, allocations: 166.5 kB / 0.611 GB, free: 10.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.5275, allocations: 1.2 MB / 0.6122 GB, free: 9.543 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.528, allocations: 0.9667 MB / 0.6131 GB, free: 8.547 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000733/0.5288, allocations: 215.2 kB / 0.6133 GB, free: 8.336 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.5289, allocations: 35.44 kB / 0.6134 GB, free: 8.301 MB / 442.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5289, allocations: 0 / 0.6134 GB, free: 8.301 MB / 442.7 MB Notification: Performance of Templates: time 0.01446/0.5434, allocations: 8.16 MB / 0.6213 GB, free: 200 kB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous_InitialState/Continuous_InitialState.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches