Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_virtualMeasurement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-alpha.1/package.mo", uses=false) Using package Credibility with version 0.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-alpha.1/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_virtualMeasurement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_virtualMeasurement") translateModel(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_virtualMeasurement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_virtualMeasurement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 110 kB / 16.42 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 187.9 kB / 17.35 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-alpha.1/package.mo): time 0.008437/0.008437, allocations: 1.295 MB / 292.5 MB, free: 13.46 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.89 kB / 404.1 MB, free: 31.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07338/0.07464, allocations: 49.72 MB / 453.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_virtualMeasurement): time 0.005785/0.08046, allocations: 4.515 MB / 458.3 MB, free: 9.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004845/0.08533, allocations: 3.344 MB / 461.7 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003807/0.08573, allocations: 15.94 kB / 461.7 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002032/0.08779, allocations: 1.137 MB / 462.8 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006616/0.08847, allocations: 421.8 kB / 463.2 MB, free: 4.199 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.08968, allocations: 0.5608 MB / 463.8 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008647/0.09055, allocations: 0.955 MB / 464.7 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003868/0.09095, allocations: 275.9 kB / 465 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004007/0.09136, allocations: 406.3 kB / 465.4 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000969/0.09234, allocations: 0.5123 MB / 465.9 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.09245, allocations: 68 kB / 466 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005805/0.09303, allocations: 371.5 kB / 466.4 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003054/0.09335, allocations: 364.3 kB / 466.7 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003979/0.09376, allocations: 0.5316 MB / 467.2 MB, free: 172 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.09524, allocations: 1.478 MB / 468.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.09527, allocations: 4 kB / 468.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09527, allocations: 0 / 468.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.09529, allocations: 0 / 468.7 MB, free: 14.68 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002232/0.09753, allocations: 1.661 MB / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.09758, allocations: 15.89 kB / 470.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004483/0.09803, allocations: 178.9 kB / 470.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.09929, allocations: 1.109 MB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.828e-05/0.09934, allocations: 36.98 kB / 471.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.918e-05/0.09943, allocations: 48 kB / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008612/0.1003, allocations: 0.5006 MB / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.1003, allocations: 15.88 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.171e-05/0.1004, allocations: 19.94 kB / 472.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.1004, allocations: 12 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008252/0.1012, allocations: 371.7 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002977/0.1042, allocations: 2.231 MB / 474.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009595/0.1052, allocations: 499.9 kB / 475.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004454/0.1057, allocations: 205.6 kB / 475.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.303e-05/0.1057, allocations: 8 kB / 475.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000508/0.1062, allocations: 266 kB / 475.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.284e-06/0.1062, allocations: 3.938 kB / 475.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003557/0.1098, allocations: 1.993 MB / 477.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.1099, allocations: 101.6 kB / 478 MB, free: 5.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/0.112, allocations: 1.997 MB / 480 MB, free: 3.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.445e-05/0.112, allocations: 53.69 kB / 480 MB, free: 2.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003935/0.1124, allocations: 0.5053 MB / 480.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.1126, allocations: 202.4 kB / 480.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003726/0.113, allocations: 315.4 kB / 481 MB, free: 1.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1131, allocations: 365.9 kB / 481.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009108/0.1141, allocations: 0.6254 MB / 482 MB, free: 0.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.1151, allocations: 0.7727 MB / 482.8 MB, free: 152 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.1166, allocations: 1.014 MB / 483.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/0.1166, allocations: 4 kB / 483.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002479/0.1191, allocations: 1.696 MB / 485.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1191, allocations: 8 kB / 485.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.1191, allocations: 3.938 kB / 485.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.1193, allocations: 52.75 kB / 485.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.1207, allocations: 367.7 kB / 485.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/0.1234, allocations: 3.543 MB / 489.5 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005409/0.124, allocations: 48 kB / 489.5 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.288e-05/0.1241, allocations: 40 kB / 489.5 MB, free: 9.023 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00132/0.1254, allocations: 0.9574 MB / 490.5 MB, free: 8.062 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009609/0.1264, allocations: 0.7688 MB / 491.3 MB, free: 7.262 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001392/0.1278, allocations: 0.9869 MB / 492.3 MB, free: 6.238 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.6e-06/0.1278, allocations: 3.938 kB / 492.3 MB, free: 6.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=173) (initialization_lambda0): time 0.0024/0.1302, allocations: 1.676 MB / 493.9 MB, free: 4.547 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.1302, allocations: 4 kB / 493.9 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1302, allocations: 4 kB / 493.9 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001328/0.1304, allocations: 32.84 kB / 494 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009931/0.1314, allocations: 283.8 kB / 494.3 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.1326, allocations: 1.99 MB / 496.2 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/0.1331, allocations: 47.91 kB / 496.3 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.031e-05/0.1332, allocations: 44 kB / 496.3 MB, free: 1.977 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,globalSeed.id_impure,globalSeed.seed,normalNoise2.actualGlobalSeed,normalNoise2.localSeed,normalNoise1.actualGlobalSeed,normalNoise1.localSeed,normalNoise2.r_raw,$PRE.normalNoise2.r_raw,normalNoise2.r,$PRE.normalNoise2.r,normalNoise2.state[4],$PRE.normalNoise2.state[4],normalNoise2.state[3],$PRE.normalNoise2.state[3],normalNoise2.state[2],$PRE.normalNoise2.state[2],normalNoise2.state[1],$PRE.normalNoise2.state[1],normalNoise1.r_raw,$PRE.normalNoise1.r_raw,normalNoise1.r,$PRE.normalNoise1.r,normalNoise1.state[4],$PRE.normalNoise1.state[4],normalNoise1.state[3],$PRE.normalNoise1.state[3],normalNoise1.state[2],$PRE.normalNoise1.state[2],normalNoise1.state[1],$PRE.normalNoise1.state[1],speedController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 161 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002868/0.1335, allocations: 263.9 kB / 496.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.1337, allocations: 131.1 kB / 496.7 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.1348, allocations: 0.5778 MB / 497.3 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.1348, allocations: 19.92 kB / 497.3 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1348, allocations: 0 / 497.3 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003459/0.1352, allocations: 276.1 kB / 497.6 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.1353, allocations: 23.92 kB / 497.6 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.1357, allocations: 23.97 kB / 497.6 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.493e-05/0.1358, allocations: 32.39 kB / 497.7 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001344/0.1371, allocations: 0.619 MB / 498.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001575/0.1387, allocations: 1.003 MB / 499.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004002/0.1391, allocations: 211.6 kB / 499.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001552/0.1407, allocations: 1.315 MB / 0.4891 GB, free: 13.43 MB / 382.1 MB Notification: Performance of Backend: time 6.21e-07/0.1407, allocations: 0 / 0.4891 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005098/0.1458, allocations: 2.444 MB / 0.4915 GB, free: 11.18 MB / 382.1 MB Notification: Performance of SimCode: time 0.003841/0.1496, allocations: 3.066 MB / 0.4944 GB, free: 8.066 MB / 382.1 MB Notification: Performance of Templates: time 0.1885/0.3382, allocations: 16.49 MB / 0.5106 GB, free: 55.14 MB / 382.1 MB make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_virtualMeasurement.makefile (rm -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_virtualMeasurement.pipe ; mkfifo Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_virtualMeasurement.pipe ; head -c 1048576 < Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_virtualMeasurement.pipe >> ../files/Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_virtualMeasurement.sim & ./Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_virtualMeasurement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_virtualMeasurement.pipe 2>&1)