Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001766/0.001766, allocations: 122.6 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001963/0.001963, allocations: 206.6 kB / 21.45 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.657/1.657, allocations: 230.5 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 67.84 kB / 373.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1289, allocations: 53.33 MB / 427 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.00502/0.1339, allocations: 2.704 MB / 429.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.1363, allocations: 0.9505 MB / 430.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004887/0.1368, allocations: 15.88 kB / 430.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.1372, allocations: 67.31 kB / 430.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003567/0.1375, allocations: 71.45 kB / 430.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008426/0.1384, allocations: 243.4 kB / 431 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005291/0.1389, allocations: 367 kB / 431.4 MB, free: 432 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003021/0.1392, allocations: 140.8 kB / 431.5 MB, free: 288 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.1394, allocations: 143.4 kB / 431.7 MB, free: 144 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.1396, allocations: 147.2 kB / 431.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.591e-05/0.1397, allocations: 36 kB / 431.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.1398, allocations: 71.89 kB / 431.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.1399, allocations: 83.62 kB / 432 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.1401, allocations: 163.1 kB / 432.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006068/0.1407, allocations: 414.2 kB / 432.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.1407, allocations: 8 kB / 432.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1407, allocations: 3.938 kB / 432.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.1407, allocations: 3.938 kB / 432.6 MB, free: 15.23 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.00127/0.142, allocations: 0.6427 MB / 433.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.1421, allocations: 12.03 kB / 433.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.437e-05/0.1421, allocations: 62.72 kB / 433.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.75e-05/0.1422, allocations: 40.7 kB / 433.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005756/0.1428, allocations: 340.1 kB / 433.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/0.1428, allocations: 16.94 kB / 433.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.423e-05/0.1429, allocations: 36.12 kB / 433.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.1444, allocations: 0.7287 MB / 434.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.1444, allocations: 3.938 kB / 434.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.1444, allocations: 19.92 kB / 434.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.1444, allocations: 8 kB / 434.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006038/0.145, allocations: 223.7 kB / 434.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.1461, allocations: 0.7722 MB / 435.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.1473, allocations: 0.5951 MB / 436.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004932/0.1478, allocations: 239.3 kB / 436.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007399/0.1485, allocations: 0.5932 MB / 436.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.1485, allocations: 46.48 kB / 436.9 MB, free: 10.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.545e-06/0.1485, allocations: 7.938 kB / 436.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=52): time 0.001391/0.1499, allocations: 0.5205 MB / 437.5 MB, free: 9.906 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001795/0.1501, allocations: 208 kB / 437.7 MB, free: 9.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003365/0.1504, allocations: 254.6 kB / 437.9 MB, free: 9.406 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.1505, allocations: 33.7 kB / 437.9 MB, free: 9.367 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.1506, allocations: 148.9 kB / 438.1 MB, free: 9.215 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.555e-05/0.1507, allocations: 59.7 kB / 438.2 MB, free: 9.156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.1508, allocations: 78.27 kB / 438.2 MB, free: 9.074 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.151, allocations: 342.9 kB / 438.6 MB, free: 8.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.1513, allocations: 97 kB / 438.7 MB, free: 8.633 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005931/0.1518, allocations: 426.9 kB / 439.1 MB, free: 8.047 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008001/0.1526, allocations: 0.532 MB / 439.6 MB, free: 7.352 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.1527, allocations: 4 kB / 439.6 MB, free: 7.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009251/0.1536, allocations: 497.7 kB / 440.1 MB, free: 6.855 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.1536, allocations: 16.06 kB / 440.1 MB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.1536, allocations: 12 kB / 440.1 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.262e-05/0.1537, allocations: 12 kB / 440.1 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/0.154, allocations: 123.8 kB / 440.3 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.423e-05/0.154, allocations: 19.94 kB / 440.3 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003204/0.1544, allocations: 51.72 kB / 440.3 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.855e-05/0.1544, allocations: 32 kB / 440.4 MB, free: 6.594 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 4 (PI.x,sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003232/0.1547, allocations: 197.9 kB / 440.5 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007408/0.1555, allocations: 346.1 kB / 440.9 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008005/0.1563, allocations: 356.7 kB / 441.2 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.1563, allocations: 7.984 kB / 441.2 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.1563, allocations: 8 kB / 441.3 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1563, allocations: 0 / 441.3 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004929/0.1568, allocations: 333.2 kB / 441.6 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.761e-05/0.1568, allocations: 7.984 kB / 441.6 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000416/0.1572, allocations: 103.9 kB / 441.7 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.1572, allocations: 0 / 441.7 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/0.1573, allocations: 12 kB / 441.7 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.1573, allocations: 4 kB / 441.7 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.1573, allocations: 3.938 kB / 441.7 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.1587, allocations: 0.7864 MB / 442.5 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.1589, allocations: 120.7 kB / 442.6 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/0.1589, allocations: 12 kB / 442.6 MB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/0.1592, allocations: 27.97 kB / 442.6 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.1592, allocations: 4 kB / 442.7 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/0.1593, allocations: 12 kB / 442.7 MB, free: 4.168 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002135/0.1595, allocations: 186 kB / 442.8 MB, free: 3.988 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1595, allocations: 4.062 kB / 442.9 MB, free: 3.984 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006216/0.1601, allocations: 83.83 kB / 442.9 MB, free: 3.902 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 4 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3],PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001875/0.162, allocations: 1.344 MB / 444.3 MB, free: 2.527 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008699/0.1628, allocations: 354.5 kB / 444.6 MB, free: 2.188 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1628, allocations: 0 / 444.6 MB, free: 2.188 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.1629, allocations: 32.09 kB / 444.7 MB, free: 2.156 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.1641, allocations: 290.1 kB / 444.9 MB, free: 1.867 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2406/0.4047, allocations: 3.817 MB / 448.8 MB, free: 22.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.405, allocations: 0.8098 MB / 449.6 MB, free: 22.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001634/0.4052, allocations: 37.41 kB / 449.6 MB, free: 22.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.4053, allocations: 115.6 kB / 449.7 MB, free: 22.07 MB / 366.1 MB Notification: Performance of SimCode: time 1.533e-06/0.4053, allocations: 1.344 kB / 449.7 MB, free: 22.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03943/0.4448, allocations: 8.119 MB / 457.8 MB, free: 21.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.785/9.23, allocations: 5.141 kB / 457.8 MB, free: 21.45 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009802 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.070644488092512] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'PI.x', 'PI.y'] 9.306127053219825 9.321993817 9.177929322 Calling exit ...