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.001073/0.001073, allocations: 114.6 kB / 16.42 MB, free: 6.465 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.001144/0.001144, allocations: 189.5 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.339/1.339, allocations: 222.9 MB / 241.1 MB, free: 15.07 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.008467/0.008467, allocations: 1.303 MB / 292.5 MB, free: 13.47 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 67.88 kB / 404.1 MB, free: 31.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0747/0.0759, allocations: 49.71 MB / 453.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_virtualMeasurement): time 0.005649/0.08159, allocations: 4.53 MB / 458.3 MB, free: 9.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004868/0.08648, allocations: 3.337 MB / 461.7 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003812/0.08688, allocations: 19.94 kB / 461.7 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002125/0.08901, allocations: 1.133 MB / 462.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000678/0.0897, allocations: 425.8 kB / 463.2 MB, free: 4.086 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.001215/0.09093, allocations: 0.557 MB / 463.8 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008845/0.09182, allocations: 0.955 MB / 464.7 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003855/0.09222, allocations: 275.9 kB / 465 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004061/0.09263, allocations: 398.3 kB / 465.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009219/0.09356, allocations: 0.5241 MB / 465.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.336e-05/0.09367, allocations: 64 kB / 466 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005675/0.09424, allocations: 375.5 kB / 466.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002975/0.09455, allocations: 364.3 kB / 466.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003966/0.09495, allocations: 0.5278 MB / 467.2 MB, free: 60 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.09652, allocations: 1.478 MB / 468.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.09654, allocations: 4 kB / 468.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.09655, allocations: 0 / 468.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.09657, allocations: 0 / 468.7 MB, free: 14.57 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.002368/0.09895, allocations: 1.67 MB / 470.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.09899, allocations: 11.89 kB / 470.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004734/0.09947, allocations: 174.9 kB / 470.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.1008, allocations: 1.113 MB / 471.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.1008, allocations: 37 kB / 471.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.308e-05/0.1009, allocations: 51.98 kB / 471.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009103/0.1018, allocations: 0.4928 MB / 472.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/0.1019, allocations: 15.95 kB / 472.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.558e-05/0.1019, allocations: 23.88 kB / 472.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.102, allocations: 11.94 kB / 472.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008574/0.1028, allocations: 371.8 kB / 472.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003131/0.106, allocations: 2.231 MB / 474.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009903/0.107, allocations: 491.9 kB / 475.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004785/0.1075, allocations: 209.6 kB / 475.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.1075, allocations: 4 kB / 475.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005376/0.1081, allocations: 273.8 kB / 475.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.264e-06/0.1081, allocations: 192 / 475.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003748/0.1118, allocations: 1.985 MB / 477.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.1119, allocations: 97.61 kB / 478 MB, free: 4.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/0.1141, allocations: 2 MB / 480 MB, free: 2.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.646e-05/0.1141, allocations: 57.69 kB / 480 MB, free: 2.871 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004087/0.1145, allocations: 0.4975 MB / 480.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.1147, allocations: 210.4 kB / 480.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000382/0.1151, allocations: 311.4 kB / 481 MB, free: 1.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1153, allocations: 369.9 kB / 481.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009415/0.1162, allocations: 0.6255 MB / 482 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.1173, allocations: 0.7727 MB / 482.8 MB, free: 44 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.1189, allocations: 1.014 MB / 483.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1189, allocations: 0 / 483.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002633/0.1215, allocations: 1.707 MB / 485.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1216, allocations: 4 kB / 485.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.1216, allocations: 7.938 kB / 485.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001854/0.1218, allocations: 36.84 kB / 485.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.1232, allocations: 375.6 kB / 485.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00316/0.1264, allocations: 3.547 MB / 489.5 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005796/0.127, allocations: 39.98 kB / 489.5 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.613e-05/0.1271, allocations: 47.98 kB / 489.5 MB, free: 8.914 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001427/0.1285, allocations: 0.9574 MB / 490.5 MB, free: 7.953 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001036/0.1296, allocations: 0.7687 MB / 491.3 MB, free: 7.152 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001502/0.1311, allocations: 0.9908 MB / 492.3 MB, free: 6.125 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.7e-06/0.1311, allocations: 3.938 kB / 492.3 MB, free: 6.121 MB / 366.1 MB Notification: Performance of matching and sorting (n=173) (initialization_lambda0): time 0.002529/0.1336, allocations: 1.672 MB / 493.9 MB, free: 4.438 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1337, allocations: 11.98 kB / 493.9 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1337, allocations: 0 / 493.9 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001368/0.1338, allocations: 44.83 kB / 494 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000975/0.1348, allocations: 279.6 kB / 494.3 MB, free: 4.105 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.1362, allocations: 1.99 MB / 496.3 MB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005356/0.1367, allocations: 40.02 kB / 496.3 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.893e-05/0.1368, allocations: 47.98 kB / 496.3 MB, free: 1.859 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.0002756/0.1371, allocations: 263.9 kB / 496.6 MB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.1373, allocations: 135.1 kB / 496.7 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.1385, allocations: 0.5739 MB / 497.3 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.1386, allocations: 3.984 kB / 497.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1386, allocations: 4 kB / 497.3 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000407/0.139, allocations: 280.1 kB / 497.6 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.1391, allocations: 23.92 kB / 497.6 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003735/0.1395, allocations: 19.98 kB / 497.6 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.106e-05/0.1396, allocations: 32.39 kB / 497.7 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001392/0.141, allocations: 0.6229 MB / 498.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001608/0.1426, allocations: 1.003 MB / 499.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004161/0.1431, allocations: 211.6 kB / 499.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001592/0.1447, allocations: 1.303 MB / 0.4891 GB, free: 13.34 MB / 382.1 MB Notification: Performance of Backend: time 1.613e-06/0.1447, allocations: 4 kB / 0.4891 GB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005095/0.1498, allocations: 2.464 MB / 0.4915 GB, free: 11.06 MB / 382.1 MB Notification: Performance of SimCode: time 0.003991/0.1538, allocations: 3.044 MB / 0.4944 GB, free: 7.965 MB / 382.1 MB Notification: Performance of Templates: time 0.2189/0.3727, allocations: 16.5 MB / 0.5106 GB, free: 53.9 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)