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.001515/0.001515, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001416/0.001416, allocations: 212.6 kB / 24.54 MB, free: 4.016 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.426/1.426, allocations: 230.6 MB / 258.3 MB, free: 8.059 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.002148/0.002148, allocations: 68.77 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2476, allocations: 53.37 MB / 432 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004323/0.2519, allocations: 2.905 MB / 434.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.2532, allocations: 0.7596 MB / 435.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.2534, allocations: 11.88 kB / 435.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.2535, allocations: 43.56 kB / 435.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.2537, allocations: 99.19 kB / 435.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.254, allocations: 115.8 kB / 435.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004336/0.2544, allocations: 394.5 kB / 436.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.2546, allocations: 95.66 kB / 436.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002806/0.2549, allocations: 155.5 kB / 436.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.2551, allocations: 167.2 kB / 436.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.258e-05/0.2552, allocations: 36 kB / 436.7 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.963e-05/0.2552, allocations: 40 kB / 436.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.219e-05/0.2553, allocations: 75.77 kB / 436.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.2555, allocations: 171.1 kB / 437 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004643/0.2559, allocations: 423.2 kB / 437.4 MB, free: 1.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2559, allocations: 4 kB / 437.4 MB, free: 1.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2559, allocations: 0 / 437.4 MB, free: 1.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.256, allocations: 4 kB / 437.4 MB, free: 1.359 MB / 334.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.00128/0.2572, allocations: 0.5897 MB / 438 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2573, allocations: 8.031 kB / 438 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.742e-05/0.2573, allocations: 62.72 kB / 438.1 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.007e-05/0.2574, allocations: 32.75 kB / 438.1 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.2578, allocations: 242.8 kB / 438.3 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.2578, allocations: 16.88 kB / 438.4 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.244e-05/0.2579, allocations: 20.38 kB / 438.4 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006899/0.2586, allocations: 318.8 kB / 438.7 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2586, allocations: 0 / 438.7 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/0.2586, allocations: 16.02 kB / 438.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.2587, allocations: 7.938 kB / 438.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007871/0.2594, allocations: 285.8 kB / 439 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001831/0.2613, allocations: 1.069 MB / 440.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000846/0.2621, allocations: 234.6 kB / 440.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.2624, allocations: 104.7 kB / 440.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.2624, allocations: 0 / 440.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004619/0.2629, allocations: 169 kB / 440.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.2629, allocations: 0 / 440.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001045/0.264, allocations: 317.2 kB / 440.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.498e-05/0.264, allocations: 85.05 kB / 440.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.2643, allocations: 261.8 kB / 441.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.2644, allocations: 37.7 kB / 441.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.2645, allocations: 192 kB / 441.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.758e-05/0.2646, allocations: 47.62 kB / 441.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.301e-05/0.2647, allocations: 53.69 kB / 441.5 MB, free: 13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.2649, allocations: 330.8 kB / 441.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/0.2652, allocations: 108.1 kB / 442 MB, free: 12.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003965/0.2656, allocations: 191.5 kB / 442.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007112/0.2663, allocations: 303.5 kB / 442.4 MB, free: 12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2663, allocations: 0 / 442.4 MB, free: 12 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000864/0.2672, allocations: 362.9 kB / 442.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/0.2672, allocations: 36.36 kB / 442.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.2672, allocations: 4 kB / 442.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.2672, allocations: 7.984 kB / 442.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.2675, allocations: 72.14 kB / 442.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.2676, allocations: 7.938 kB / 442.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.2679, allocations: 59.67 kB / 443 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.2679, allocations: 8 kB / 443 MB, free: 11.44 MB / 350.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.0001596/0.268, allocations: 145.8 kB / 443.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.2681, allocations: 23.86 kB / 443.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.203e-05/0.2681, allocations: 25.7 kB / 443.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2681, allocations: 0 / 443.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.2681, allocations: 0 / 443.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2681, allocations: 3.938 kB / 443.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/0.2685, allocations: 276.6 kB / 443.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2685, allocations: 4 kB / 443.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.2687, allocations: 43.89 kB / 443.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2687, allocations: 0 / 443.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.2687, allocations: 15.98 kB / 443.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2687, allocations: 0 / 443.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2687, allocations: 0 / 443.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.2698, allocations: 368.6 kB / 443.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.2698, allocations: 27.83 kB / 443.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.2699, allocations: 0 / 443.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.2701, allocations: 44.02 kB / 443.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.863e-05/0.2702, allocations: 19.91 kB / 444 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.2702, allocations: 4 kB / 444 MB, free: 10.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002069/0.2704, allocations: 185.2 kB / 444.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2704, allocations: 0 / 444.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003252/0.2707, allocations: 67.84 kB / 444.2 MB, free: 10.13 MB / 350.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.001494/0.2722, allocations: 0.905 MB / 445.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008164/0.273, allocations: 291.3 kB / 445.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.273, allocations: 3.938 kB / 445.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.2734, allocations: 95.86 kB / 445.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.2737, allocations: 55.36 kB / 445.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004955/0.2787, allocations: 2.895 MB / 448.4 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.279, allocations: 0.7519 MB / 449.2 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.2792, allocations: 26.28 kB / 449.2 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.2793, allocations: 79.41 kB / 449.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2793, allocations: 0 / 449.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03286/0.3122, allocations: 5.674 MB / 455 MB, free: 15.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.376, allocations: 10 kB / 455 MB, free: 15.28 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.68880822462961] Failed to read output from testmodel.py, exit status != 0: ['time', 'der_.c.v', 'der_.opAmp.out.v', 'der_.opAmp.out.i'] 8.447472925297916 8.461894276 8.202778471 Calling exit ...