Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.001689/0.001689, allocations: 120 kB / 18.5 MB, free: 4.52 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.001998/0.001998, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.442/1.442, 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.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",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.002019/0.002019, allocations: 75.83 kB / 373.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1102, allocations: 53.33 MB / 427 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004412/0.1147, allocations: 2.888 MB / 429.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1161, allocations: 0.7518 MB / 430.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.1162, allocations: 7.938 kB / 430.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.1164, allocations: 55.5 kB / 430.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.1166, allocations: 95.25 kB / 430.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.1169, allocations: 111.8 kB / 431 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004521/0.1174, allocations: 394.5 kB / 431.3 MB, free: 432 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.1176, allocations: 95.25 kB / 431.4 MB, free: 328 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002936/0.1179, allocations: 155.4 kB / 431.6 MB, free: 172 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.1181, allocations: 163.3 kB / 431.7 MB, free: 8 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.504e-05/0.1182, allocations: 44.03 kB / 431.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.447e-05/0.1182, allocations: 36 kB / 431.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.914e-05/0.1183, allocations: 75.66 kB / 431.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.1185, allocations: 167.2 kB / 432.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004832/0.1189, allocations: 426.3 kB / 432.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1189, allocations: 7.938 kB / 432.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.119, allocations: 0 / 432.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.119, allocations: 0 / 432.5 MB, free: 15.27 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001348/0.1203, allocations: 0.669 MB / 433.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1204, allocations: 12.03 kB / 433.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.904e-05/0.1204, allocations: 54.73 kB / 433.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.927e-05/0.1205, allocations: 36.75 kB / 433.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/0.1209, allocations: 288.8 kB / 433.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.121, allocations: 24.92 kB / 433.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.399e-05/0.121, allocations: 28.38 kB / 433.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007111/0.1217, allocations: 315.7 kB / 433.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1217, allocations: 4 kB / 433.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.1218, allocations: 8 kB / 433.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.1218, allocations: 8 kB / 433.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000808/0.1226, allocations: 274 kB / 434.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.1245, allocations: 1.108 MB / 435.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009025/0.1254, allocations: 246.5 kB / 435.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003384/0.1257, allocations: 100.7 kB / 435.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.1257, allocations: 0 / 435.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004701/0.1262, allocations: 173 kB / 435.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.1262, allocations: 0 / 435.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.001119/0.1273, allocations: 313.2 kB / 436.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.1274, allocations: 85.11 kB / 436.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.1277, allocations: 266.6 kB / 436.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.1277, allocations: 29.7 kB / 436.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.1278, allocations: 195.9 kB / 436.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.1279, allocations: 39.64 kB / 436.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-05/0.128, allocations: 49.7 kB / 436.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1281, allocations: 338.8 kB / 437.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/0.1285, allocations: 108.1 kB / 437.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000423/0.1289, allocations: 195.5 kB / 437.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007372/0.1297, allocations: 297.9 kB / 437.7 MB, free: 9.711 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1297, allocations: 0 / 437.7 MB, free: 9.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009197/0.1306, allocations: 358.8 kB / 438 MB, free: 9.348 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.1306, allocations: 37.7 kB / 438.1 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.1306, allocations: 4 kB / 438.1 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1306, allocations: 4.344 kB / 438.1 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.131, allocations: 71.88 kB / 438.1 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.131, allocations: 7.938 kB / 438.1 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.1313, allocations: 55.69 kB / 438.2 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.1313, allocations: 15.98 kB / 438.2 MB, free: 9.148 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * 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.0001506/0.1315, allocations: 148.2 kB / 438.4 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.1315, allocations: 19.86 kB / 438.4 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.684e-05/0.1316, allocations: 29.7 kB / 438.4 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1316, allocations: 0 / 438.4 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1316, allocations: 0 / 438.4 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1316, allocations: 3.938 kB / 438.4 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.1319, allocations: 305.5 kB / 438.7 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1319, allocations: 0 / 438.7 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.1321, allocations: 55.89 kB / 438.8 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.1321, allocations: 4 kB / 438.8 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.1322, allocations: 3.984 kB / 438.8 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.1322, allocations: 4 kB / 438.8 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1322, allocations: 0 / 438.8 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.1333, allocations: 377 kB / 439.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.988e-05/0.1334, allocations: 100.9 kB / 439.2 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.1334, allocations: 4 kB / 439.2 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.1336, allocations: 36.02 kB / 439.3 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.1337, allocations: 19.92 kB / 439.3 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.1337, allocations: 4 kB / 439.3 MB, free: 7.957 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001908/0.1339, allocations: 194 kB / 439.5 MB, free: 7.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1339, allocations: 3.938 kB / 439.5 MB, free: 7.766 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003086/0.1342, allocations: 63.84 kB / 439.6 MB, free: 7.703 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001452/0.1357, allocations: 0.9012 MB / 440.5 MB, free: 6.773 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008316/0.1365, allocations: 291.2 kB / 440.7 MB, free: 6.477 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1365, allocations: 3.938 kB / 440.8 MB, free: 6.473 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003467/0.1368, allocations: 96.42 kB / 440.8 MB, free: 6.379 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.1372, allocations: 40.48 kB / 440.9 MB, free: 6.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004793/0.142, allocations: 2.904 MB / 443.8 MB, free: 3.285 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.1423, allocations: 0.7518 MB / 444.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.1424, allocations: 22.3 kB / 444.6 MB, free: 2.484 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.1426, allocations: 79.41 kB / 444.6 MB, free: 2.406 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1426, allocations: 4 kB / 444.6 MB, free: 2.402 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2229/0.3654, allocations: 5.571 MB / 450.2 MB, free: 24.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.289, allocations: 9.094 kB / 450.2 MB, free: 24.83 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.757508206181228] Failed to read output from testmodel.py, exit status != 0: ['time', 'der_.c.v', 'der_.opAmp.out.v', 'der_.opAmp.out.i'] 8.359689904842526 8.382309876 8.258943895 Calling exit ...