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.005121/0.005123, allocations: 173.6 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.006642/0.006642, allocations: 1.283 MB / 17.13 MB, free: 4.828 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.198/1.198, allocations: 223.2 MB / 241.3 MB, free: 304 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008088/0.0008088, allocations: 86.62 kB / 292.8 MB, free: 12.6 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002602/0.0002602, allocations: 8 kB / 354 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1953, allocations: 50.69 MB / 404.7 MB, free: 49.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07393/0.2693, allocations: 77.29 MB / 482 MB, free: 6.176 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001687/0.2695, allocations: 67.97 kB / 482 MB, free: 6.109 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.07763/0.3471, allocations: 33.74 MB / 0.5037 GB, free: 4.379 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3472, allocations: 0 / 0.5037 GB, free: 4.379 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.114e-05/0.3472, allocations: 12 kB / 0.5037 GB, free: 4.367 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.0009695/0.3482, allocations: 0.9211 MB / 0.5046 GB, free: 3.395 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.3482, allocations: 8.031 kB / 0.5046 GB, free: 3.387 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.3483, allocations: 154.2 kB / 0.5047 GB, free: 3.234 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005306/0.3489, allocations: 0.5077 MB / 0.5052 GB, free: 2.672 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.916e-05/0.3489, allocations: 154.6 kB / 0.5054 GB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/0.349, allocations: 154.6 kB / 0.5055 GB, free: 2.367 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.736e-05/0.349, allocations: 104.7 kB / 0.5056 GB, free: 2.262 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.3491, allocations: 75.28 kB / 0.5057 GB, free: 2.188 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.967e-05/0.3491, allocations: 150.6 kB / 0.5058 GB, free: 2.039 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.11e-05/0.3492, allocations: 158.5 kB / 0.506 GB, free: 1.883 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.074e-05/0.3492, allocations: 158.5 kB / 0.5061 GB, free: 1.727 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.3497, allocations: 0.7018 MB / 0.5068 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.803e-05/0.3498, allocations: 169.1 kB / 0.507 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.3498, allocations: 79.28 kB / 0.5071 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.3499, allocations: 109.8 kB / 0.5072 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3499, allocations: 3.938 kB / 0.5072 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001267/0.35, allocations: 104.7 kB / 0.5073 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.35, allocations: 126.7 kB / 0.5074 GB, free: 364 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008804/0.3509, allocations: 0.7972 MB / 0.5082 GB, free: 15.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.351, allocations: 25.7 kB / 0.5082 GB, free: 15.51 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.3512, allocations: 312 kB / 0.5085 GB, free: 15.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.402e-06/0.3512, allocations: 3.938 kB / 0.5085 GB, free: 15.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-07/0.3512, allocations: 4 kB / 0.5085 GB, free: 15.19 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.387e-05/0.3513, allocations: 306 kB / 0.5088 GB, free: 14.89 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.776e-06/0.3513, allocations: 0 / 0.5088 GB, free: 14.89 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.094e-06/0.3513, allocations: 0 / 0.5088 GB, free: 14.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.197e-05/0.3513, allocations: 75.28 kB / 0.5089 GB, free: 14.81 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.571e-05/0.3513, allocations: 75.28 kB / 0.5089 GB, free: 14.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.000108/0.3515, allocations: 100.8 kB / 0.509 GB, free: 14.63 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.3515, allocations: 80.84 kB / 0.5091 GB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/0.3515, allocations: 83.28 kB / 0.5092 GB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.014e-05/0.3516, allocations: 158.5 kB / 0.5093 GB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.695e-05/0.3516, allocations: 79.27 kB / 0.5094 GB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-05/0.3517, allocations: 150.6 kB / 0.5096 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.3518, allocations: 87.22 kB / 0.5096 GB, free: 14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.3519, allocations: 79.28 kB / 0.5097 GB, free: 13.93 MB / 394.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 () * Number of clocked 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 0.0002269/0.3521, allocations: 376.3 kB / 0.5101 GB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.3522, allocations: 187.8 kB / 0.5103 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.3523, allocations: 188 kB / 0.5104 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.519e-05/0.3524, allocations: 184.3 kB / 0.5106 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.444e-05/0.3524, allocations: 180.2 kB / 0.5108 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-05/0.3525, allocations: 180.3 kB / 0.511 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/0.3529, allocations: 0.6464 MB / 0.5116 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.469e-05/0.353, allocations: 101 kB / 0.5117 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.353, allocations: 101 kB / 0.5118 GB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.225e-05/0.353, allocations: 184.1 kB / 0.512 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.668e-05/0.3531, allocations: 188.2 kB / 0.5121 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.154e-05/0.3532, allocations: 188.2 kB / 0.5123 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-05/0.3532, allocations: 176.3 kB / 0.5125 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.3534, allocations: 379.1 kB / 0.5129 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002719/0.3537, allocations: 301 kB / 0.5131 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.3538, allocations: 188.2 kB / 0.5133 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.354, allocations: 108.9 kB / 0.5134 GB, free: 9.926 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.354, allocations: 180.2 kB / 0.5136 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.354, allocations: 109 kB / 0.5137 GB, free: 9.629 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006919/0.3547, allocations: 0.6493 MB / 0.5143 GB, free: 8.969 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3548, allocations: 0 / 0.5143 GB, free: 8.969 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003982/0.3552, allocations: 95.92 kB / 0.5144 GB, free: 8.875 MB / 394.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 () * Number of clocked 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.0005257/0.3557, allocations: 0.6042 MB / 0.515 GB, free: 8.305 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 2.622e-05/0.3557, allocations: 0 / 0.515 GB, free: 8.305 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3557, allocations: 0 / 0.515 GB, free: 8.305 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.616e-06/0.3557, allocations: 11.94 kB / 0.515 GB, free: 8.293 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007731/0.3565, allocations: 0.655 MB / 0.5157 GB, free: 7.637 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.3576, allocations: 1.105 MB / 0.5167 GB, free: 6.508 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.358, allocations: 0.935 MB / 0.5177 GB, free: 5.547 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002236/0.3583, allocations: 69.55 kB / 0.5177 GB, free: 5.477 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.3584, allocations: 51.36 kB / 0.5178 GB, free: 5.426 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3584, allocations: 3.938 kB / 0.5178 GB, free: 5.422 MB / 394.7 MB Notification: Performance of Templates: time 0.01194/0.3704, allocations: 8.764 MB / 0.5263 GB, free: 12.7 MB / 410.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)