Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008507/0.0008507, allocations: 80.34 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0009558/0.0009558, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9143/0.9143, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 324.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.949e-05, allocations: 2.281 kB / 324.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003098/0.003118, allocations: 2.713 MB / 327.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.004173, allocations: 0.705 MB / 328 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.004347, allocations: 7.938 kB / 328 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.004492, allocations: 39.58 kB / 328 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.00468, allocations: 119 kB / 328.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.004962, allocations: 91.88 kB / 328.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003805/0.005343, allocations: 402.1 kB / 328.6 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.005517, allocations: 83.67 kB / 328.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003111/0.005828, allocations: 235.3 kB / 328.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.005958, allocations: 123.7 kB / 329.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.985e-05/0.005998, allocations: 40 kB / 329.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.468e-05/0.006033, allocations: 36 kB / 329.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.78e-05/0.00608, allocations: 83.67 kB / 329.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.04e-05/0.006171, allocations: 119.7 kB / 329.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.006515, allocations: 442.6 kB / 329.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.006517, allocations: 0 / 329.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.006519, allocations: 4 kB / 329.8 MB, free: 10.63 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.006525, allocations: 0 / 329.8 MB, free: 10.63 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0008995/0.007424, allocations: 0.5856 MB / 330.4 MB, free: 10.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.007471, allocations: 11.98 kB / 330.4 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.283e-05/0.007524, allocations: 58.73 kB / 330.4 MB, free: 9.934 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/0.007584, allocations: 40.7 kB / 330.5 MB, free: 9.895 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.007924, allocations: 237.1 kB / 330.7 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.007943, allocations: 20.88 kB / 330.7 MB, free: 9.617 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.007981, allocations: 24.38 kB / 330.7 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004129/0.008394, allocations: 327.9 kB / 331.1 MB, free: 9.258 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.008405, allocations: 192 / 331.1 MB, free: 9.258 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.008426, allocations: 12.12 kB / 331.1 MB, free: 9.246 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.008433, allocations: 12 kB / 331.1 MB, free: 9.234 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003603/0.008794, allocations: 249.8 kB / 331.3 MB, free: 8.992 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.009834, allocations: 0.9359 MB / 332.3 MB, free: 7.977 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/0.01024, allocations: 206.6 kB / 332.5 MB, free: 7.766 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.01038, allocations: 92.8 kB / 332.6 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.0104, allocations: 3.938 kB / 332.6 MB, free: 7.668 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002695/0.01067, allocations: 220.1 kB / 332.8 MB, free: 7.422 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/0.01067, allocations: 0 / 332.8 MB, free: 7.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.000513/0.01119, allocations: 289.3 kB / 333.1 MB, free: 7.133 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.01124, allocations: 114.8 kB / 333.2 MB, free: 6.996 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.01144, allocations: 269.8 kB / 333.4 MB, free: 6.719 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.01146, allocations: 29.7 kB / 333.5 MB, free: 6.684 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.142e-05/0.01155, allocations: 188.1 kB / 333.6 MB, free: 6.496 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.01158, allocations: 55.56 kB / 333.7 MB, free: 6.441 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/0.01164, allocations: 53.94 kB / 333.7 MB, free: 6.379 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.951e-05/0.01172, allocations: 334.8 kB / 334.1 MB, free: 6.043 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.01188, allocations: 121.9 kB / 334.2 MB, free: 5.918 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.01208, allocations: 260.7 kB / 334.4 MB, free: 5.605 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.01239, allocations: 278.9 kB / 334.7 MB, free: 5.293 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01239, allocations: 0 / 334.7 MB, free: 5.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004085/0.0128, allocations: 371.6 kB / 335.1 MB, free: 4.914 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.01283, allocations: 41.62 kB / 335.1 MB, free: 4.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.01284, allocations: 7.984 kB / 335.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.01285, allocations: 0 / 335.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.01299, allocations: 68.2 kB / 335.2 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.013, allocations: 7.938 kB / 335.2 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.01314, allocations: 47.81 kB / 335.3 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.01315, allocations: 8 kB / 335.3 MB, free: 4.73 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (der_.opAmp.satNeg,der_.opAmp.satPos,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 (28): * Single equations (assignments): 27 * 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.0001012/0.01325, allocations: 153.7 kB / 335.4 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.01327, allocations: 23.86 kB / 335.4 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.45e-05/0.01331, allocations: 25.77 kB / 335.5 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.01331, allocations: 8 kB / 335.5 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01332, allocations: 0 / 335.5 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.01332, allocations: 3.984 kB / 335.5 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.0135, allocations: 260.5 kB / 335.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.0135, allocations: 3.984 kB / 335.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.0136, allocations: 35.97 kB / 335.8 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.0136, allocations: 0 / 335.8 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.01361, allocations: 4 kB / 335.8 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.01361, allocations: 0 / 335.8 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.01361, allocations: 4 kB / 335.8 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004823/0.0141, allocations: 346.3 kB / 336.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.01413, allocations: 27.81 kB / 336.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.01415, allocations: 7.938 kB / 336.1 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.813e-05/0.01425, allocations: 32.03 kB / 336.2 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.0143, allocations: 19.95 kB / 336.2 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.01431, allocations: 4 kB / 336.2 MB, free: 3.723 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001188/0.01443, allocations: 189.2 kB / 336.4 MB, free: 3.539 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01443, allocations: 0 / 336.4 MB, free: 3.539 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00019/0.01462, allocations: 67.89 kB / 336.5 MB, free: 3.473 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: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,der_.opAmp.satPos,der_.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * 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.0006502/0.01527, allocations: 0.8777 MB / 337.3 MB, free: 2.566 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003795/0.01565, allocations: 294.1 kB / 337.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.01565, allocations: 4.25 kB / 337.6 MB, free: 2.258 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.01579, allocations: 91.88 kB / 337.7 MB, free: 2.168 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.016, allocations: 51.08 kB / 337.8 MB, free: 2.121 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/0.01882, allocations: 2.99 MB / 340.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.01896, allocations: 150.8 kB / 340.9 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.991e-05/0.01904, allocations: 30.28 kB / 340.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.508e-05/0.01913, allocations: 84.48 kB / 341 MB, free: 14.67 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01913, allocations: 0 / 341 MB, free: 14.67 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.03723, allocations: 6.854 MB / 347.9 MB, free: 7.953 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.664/6.701, allocations: 7.859 kB / 347.9 MB, free: 7.945 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 8.52337858080864] Failed to read output from testmodel.py, exit status != 0: ['time', 'der_.c.v', 'der_.opAmp.out.v', 'der_.opAmp.out.i'] 6.786427116021514 6.794838204 6.786645201 Calling exit ...