Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Credibility_Credibility.Tests.TestRecords.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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 Credibility with version 0.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/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) Running command: translateModel(Credibility.Tests.TestRecords,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Credibility_Credibility.Tests.TestRecords") translateModel(Credibility.Tests.TestRecords,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Credibility_Credibility.Tests.TestRecords") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.006951/0.006951, allocations: 1.251 MB / 14.51 MB, free: 0.793 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 221.4 MB / 236.7 MB, free: 12.96 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 100.9 kB / 287.9 MB, free: 11.64 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.66e-05/3.673e-05, allocations: 4 kB / 346.5 MB, free: 1.055 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.284, allocations: 50.69 MB / 397.2 MB, free: 32.88 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09737/0.3814, allocations: 77.22 MB / 474.4 MB, free: 3.551 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001737/0.3817, allocations: 71.22 kB / 474.5 MB, free: 3.484 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/Tests/TestRecords.mo:52:9-52:16:writable] Error: Type mismatch in modifier of component scalar2.calibration, expected type record Credibility.Types.Calibration$scalar2$calibration String unitValue; Real(unit = "kg") start; Real(unit = "kg") lower; Real(unit = "kg") upper; String setup; end Credibility.Types.Calibration$scalar2$calibration;, got modifier =9 of type Integer. Notification: Performance of FrontEnd - DAE generated: time 0.0835/0.4652, allocations: 33.78 MB / 0.4963 GB, free: 1.539 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4652, allocations: 0 / 0.4963 GB, free: 1.539 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.548e-05/0.4652, allocations: 8 kB / 0.4964 GB, free: 1.531 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006329/0.4659, allocations: 0.7158 MB / 0.497 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.4659, allocations: 8.031 kB / 0.4971 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.4661, allocations: 158.2 kB / 0.4972 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005903/0.4667, allocations: 0.5038 MB / 0.4977 GB, free: 48 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2292/0.6959, allocations: 150.6 kB / 0.4978 GB, free: 96.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/0.696, allocations: 150.6 kB / 0.498 GB, free: 96.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.636e-05/0.6961, allocations: 101.5 kB / 0.4981 GB, free: 96.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.6961, allocations: 75.28 kB / 0.4982 GB, free: 96.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.386e-05/0.6962, allocations: 152.1 kB / 0.4983 GB, free: 96.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.405e-05/0.6962, allocations: 151.1 kB / 0.4984 GB, free: 95.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.284e-05/0.6963, allocations: 155.8 kB / 0.4986 GB, free: 95.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.6974, allocations: 0.7007 MB / 0.4993 GB, free: 95.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.072e-05/0.6975, allocations: 174.1 kB / 0.4994 GB, free: 95.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.285e-05/0.6975, allocations: 82.03 kB / 0.4995 GB, free: 95.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.6976, allocations: 78.84 kB / 0.4996 GB, free: 95.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.6976, allocations: 108.8 kB / 0.4997 GB, free: 94.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.615e-06/0.6976, allocations: 0 / 0.4997 GB, free: 94.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.000184/0.6978, allocations: 107.3 kB / 0.4998 GB, free: 94.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.6978, allocations: 128.1 kB / 0.4999 GB, free: 94.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.6993, allocations: 0.7883 MB / 0.5007 GB, free: 94.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.6993, allocations: 26.69 kB / 0.5007 GB, free: 94.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003276/0.6996, allocations: 309.4 kB / 0.501 GB, free: 94.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.918e-06/0.6996, allocations: 1.031 kB / 0.501 GB, free: 94.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-07/0.6996, allocations: 0 / 0.501 GB, free: 94.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.455e-05/0.6997, allocations: 306.7 kB / 0.5013 GB, free: 94.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.422e-06/0.6998, allocations: 10.72 kB / 0.5013 GB, free: 94.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.709e-06/0.6998, allocations: 0 / 0.5013 GB, free: 94.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.523e-05/0.6998, allocations: 77.08 kB / 0.5014 GB, free: 94.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-05/0.6998, allocations: 79.23 kB / 0.5015 GB, free: 93.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001472/0.7, allocations: 94.36 kB / 0.5016 GB, free: 93.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/0.7, allocations: 82.31 kB / 0.5016 GB, free: 93.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.851e-05/0.7001, allocations: 80.95 kB / 0.5017 GB, free: 93.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.375e-05/0.7001, allocations: 154.8 kB / 0.5019 GB, free: 93.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.339e-05/0.7002, allocations: 83.34 kB / 0.5019 GB, free: 93.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.183e-05/0.7002, allocations: 152.7 kB / 0.5021 GB, free: 93.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.7005, allocations: 85.27 kB / 0.5022 GB, free: 93.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.7005, allocations: 79.53 kB / 0.5022 GB, free: 93.25 MB / 378.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 8.481e-05/0.7006, allocations: 256.6 kB / 0.5025 GB, free: 93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.7008, allocations: 183 kB / 0.5027 GB, free: 92.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.701, allocations: 192.5 kB / 0.5028 GB, free: 92.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.561e-05/0.701, allocations: 177 kB / 0.503 GB, free: 92.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-05/0.7011, allocations: 186.9 kB / 0.5032 GB, free: 92.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.448e-05/0.7011, allocations: 178.1 kB / 0.5034 GB, free: 92.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006162/0.7017, allocations: 0.6428 MB / 0.504 GB, free: 91.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.518e-05/0.7018, allocations: 104.5 kB / 0.5041 GB, free: 91.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.703e-05/0.7018, allocations: 109.2 kB / 0.5042 GB, free: 91.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.571e-05/0.7019, allocations: 180.8 kB / 0.5044 GB, free: 91.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.852e-05/0.7019, allocations: 178.1 kB / 0.5045 GB, free: 91.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.652e-05/0.7019, allocations: 184.8 kB / 0.5047 GB, free: 90.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.814e-05/0.702, allocations: 180.5 kB / 0.5049 GB, free: 90.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.7022, allocations: 385.1 kB / 0.5053 GB, free: 90.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/0.7025, allocations: 300.7 kB / 0.5055 GB, free: 90.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.7026, allocations: 182.3 kB / 0.5057 GB, free: 90.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.7027, allocations: 110.7 kB / 0.5058 GB, free: 89.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.7028, allocations: 184.7 kB / 0.506 GB, free: 89.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.7028, allocations: 102.9 kB / 0.5061 GB, free: 89.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001231/0.7041, allocations: 0.6389 MB / 0.5067 GB, free: 89.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7041, allocations: 0 / 0.5067 GB, free: 89.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007193/0.7048, allocations: 101.3 kB / 0.5068 GB, free: 89.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0008812/0.7057, allocations: 0.6023 MB / 0.5074 GB, free: 89.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 4.295e-05/0.7057, allocations: 3.844 kB / 0.5074 GB, free: 89.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7058, allocations: 0 / 0.5074 GB, free: 89.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.7058, allocations: 2.906 kB / 0.5074 GB, free: 89.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009037/0.7067, allocations: 0.6557 MB / 0.508 GB, free: 88.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000888/0.7076, allocations: 0.7564 MB / 0.5088 GB, free: 88.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.708, allocations: 0.9336 MB / 0.5097 GB, free: 87.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002348/0.7082, allocations: 69.03 kB / 0.5098 GB, free: 87.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.7084, allocations: 50.39 kB / 0.5098 GB, free: 87.7 MB / 378.7 MB Notification: Performance of SimCode: time 3.4e-07/0.7084, allocations: 0 / 0.5098 GB, free: 87.7 MB / 378.7 MB Notification: Performance of Templates: time 0.01354/0.7219, allocations: 9.834 MB / 0.5194 GB, free: 86.25 MB / 378.7 MB make -j1 -f Credibility_Credibility.Tests.TestRecords.makefile (rm -f Credibility_Credibility.Tests.TestRecords.pipe ; mkfifo Credibility_Credibility.Tests.TestRecords.pipe ; head -c 1048576 < Credibility_Credibility.Tests.TestRecords.pipe >> ../files/Credibility_Credibility.Tests.TestRecords.sim & ./Credibility_Credibility.Tests.TestRecords -abortSlowSimulation -alarm=480 -lv LOG_STATS > Credibility_Credibility.Tests.TestRecords.pipe 2>&1)