Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000938/0.000938, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009781/0.0009781, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.972/0.972, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_4_1_0_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_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.58e-05, allocations: 2.281 kB / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.002922/0.002938, allocations: 2.712 MB / 327.3 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.004064, allocations: 0.7245 MB / 328.1 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.004212, allocations: 4 kB / 328.1 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.004373, allocations: 47.5 kB / 328.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.004564, allocations: 107.1 kB / 328.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.004943, allocations: 115.8 kB / 328.3 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004431/0.005386, allocations: 406.3 kB / 328.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/0.005608, allocations: 87.61 kB / 328.8 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004581/0.006066, allocations: 227.5 kB / 329 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.006249, allocations: 127.6 kB / 329.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.317e-05/0.006302, allocations: 36 kB / 329.2 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.872e-05/0.006341, allocations: 40 kB / 329.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.761e-05/0.006398, allocations: 75.75 kB / 329.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.00651, allocations: 119.7 kB / 329.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004112/0.006922, allocations: 434.7 kB / 329.8 MB, free: 10.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.006924, allocations: 0 / 329.8 MB, free: 10.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.006926, allocations: 0 / 329.8 MB, free: 10.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.006935, allocations: 4 kB / 329.8 MB, free: 10.64 MB / 298.7 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.0009755/0.00791, allocations: 0.5858 MB / 330.4 MB, free: 10.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.007956, allocations: 8.031 kB / 330.4 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.118e-05/0.008007, allocations: 62.72 kB / 330.5 MB, free: 9.945 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.867e-05/0.008066, allocations: 32.75 kB / 330.5 MB, free: 9.914 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.008409, allocations: 238.1 kB / 330.8 MB, free: 9.656 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.00843, allocations: 20.88 kB / 330.8 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.008465, allocations: 24.38 kB / 330.8 MB, free: 9.613 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004427/0.008907, allocations: 341 kB / 331.1 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.008917, allocations: 192 / 331.1 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.008939, allocations: 12.12 kB / 331.2 MB, free: 9.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.008946, allocations: 11.94 kB / 331.2 MB, free: 9.238 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004356/0.009381, allocations: 277.7 kB / 331.4 MB, free: 8.969 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.0106, allocations: 0.9916 MB / 332.4 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005252/0.01113, allocations: 242.5 kB / 332.7 MB, free: 7.652 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.0113, allocations: 96.78 kB / 332.8 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.01132, allocations: 4 kB / 332.8 MB, free: 7.551 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002861/0.01161, allocations: 202.6 kB / 333 MB, free: 7.328 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.183e-06/0.01161, allocations: 0 / 333 MB, free: 7.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005915/0.0122, allocations: 313.3 kB / 333.3 MB, free: 7.016 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.01225, allocations: 85.11 kB / 333.3 MB, free: 6.914 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.01244, allocations: 257.9 kB / 333.6 MB, free: 6.652 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.01246, allocations: 37.69 kB / 333.6 MB, free: 6.609 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.528e-05/0.01256, allocations: 192 kB / 333.8 MB, free: 6.418 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.01259, allocations: 51.62 kB / 333.9 MB, free: 6.367 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.01265, allocations: 49.66 kB / 333.9 MB, free: 6.312 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.079e-05/0.01274, allocations: 334.8 kB / 334.2 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.01294, allocations: 129.9 kB / 334.4 MB, free: 5.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.01319, allocations: 243 kB / 334.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.01358, allocations: 314 kB / 334.9 MB, free: 5.203 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01358, allocations: 0 / 334.9 MB, free: 5.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005061/0.01408, allocations: 388.9 kB / 335.3 MB, free: 4.805 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.01412, allocations: 37.7 kB / 335.3 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.01412, allocations: 4 kB / 335.3 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.01414, allocations: 4 kB / 335.3 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.01429, allocations: 67.88 kB / 335.4 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.0143, allocations: 7.938 kB / 335.4 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.01444, allocations: 51.8 kB / 335.5 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.01446, allocations: 12 kB / 335.5 MB, free: 4.617 MB / 298.7 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.0001063/0.01456, allocations: 149.7 kB / 335.6 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.01459, allocations: 23.86 kB / 335.7 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.934e-05/0.01463, allocations: 21.78 kB / 335.7 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.01463, allocations: 7.984 kB / 335.7 MB, free: 4.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.01464, allocations: 3.984 kB / 335.7 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.01464, allocations: 0 / 335.7 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.01483, allocations: 256.5 kB / 335.9 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01483, allocations: 0 / 335.9 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.01495, allocations: 47.95 kB / 336 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01495, allocations: 0 / 336 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.01497, allocations: 7.984 kB / 336 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.01497, allocations: 0 / 336 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01497, allocations: 3.938 kB / 336 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005979/0.01557, allocations: 372.6 kB / 336.4 MB, free: 3.672 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.0156, allocations: 19.83 kB / 336.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.01563, allocations: 8 kB / 336.4 MB, free: 3.645 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.921e-05/0.01573, allocations: 32.02 kB / 336.4 MB, free: 3.613 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.01579, allocations: 23.91 kB / 336.4 MB, free: 3.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.0158, allocations: 4 kB / 336.4 MB, free: 3.586 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001384/0.01594, allocations: 185.2 kB / 336.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01594, allocations: 0 / 336.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002141/0.01615, allocations: 63.89 kB / 336.7 MB, free: 3.344 MB / 298.7 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.0007829/0.01694, allocations: 0.905 MB / 337.6 MB, free: 2.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000459/0.0174, allocations: 311.6 kB / 337.9 MB, free: 2.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.0174, allocations: 4.688 kB / 337.9 MB, free: 2.086 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.01756, allocations: 100.5 kB / 338 MB, free: 1.988 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.01777, allocations: 40.69 kB / 338 MB, free: 1.949 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.02072, allocations: 3.001 MB / 341 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.02083, allocations: 142.7 kB / 341.2 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.02094, allocations: 26.28 kB / 341.2 MB, free: 14.58 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.02106, allocations: 84.41 kB / 341.3 MB, free: 14.5 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02106, allocations: 4 kB / 341.3 MB, free: 14.5 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.04246, allocations: 6.511 MB / 347.8 MB, free: 8.148 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.794/6.836, allocations: 0 / 347.8 MB, free: 8.148 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 8.747607484459877] Failed to read output from testmodel.py, exit status != 0: ['time', 'der_.c.v', 'der_.opAmp.out.v', 'der_.opAmp.out.i'] 6.921758194454014 6.932076298 6.923180143 Calling exit ...