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.001427/0.001427, allocations: 109.7 kB / 19.74 MB, free: 2.586 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.001569/0.001569, allocations: 218.6 kB / 22.92 MB, free: 5.559 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.278/1.278, allocations: 230.5 MB / 256.4 MB, free: 8.273 MB / 206.1 MB " [Timeout remaining time 179] 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.001848/0.001848, allocations: 71.83 kB / 376.1 MB, free: 4.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2226, allocations: 53.32 MB / 429.4 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004037/0.2267, allocations: 2.913 MB / 432.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.228, allocations: 0.7557 MB / 433.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.2281, allocations: 4 kB / 433.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.2282, allocations: 47.52 kB / 433.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.2284, allocations: 99.23 kB / 433.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.2287, allocations: 115.8 kB / 433.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000419/0.2291, allocations: 390.5 kB / 433.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.2293, allocations: 91.27 kB / 433.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000272/0.2296, allocations: 155.4 kB / 434 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.2298, allocations: 171.2 kB / 434.2 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.456e-05/0.2299, allocations: 36 kB / 434.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.026e-05/0.2299, allocations: 40 kB / 434.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.956e-05/0.23, allocations: 75.75 kB / 434.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.2302, allocations: 163.2 kB / 434.5 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004422/0.2306, allocations: 430.8 kB / 434.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.2306, allocations: 7.938 kB / 434.9 MB, free: 1.957 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2306, allocations: 3.938 kB / 434.9 MB, free: 1.953 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.2306, allocations: 0 / 434.9 MB, free: 1.953 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.001219/0.2318, allocations: 0.6651 MB / 435.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.2319, allocations: 8.031 kB / 435.6 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.479e-05/0.2319, allocations: 62.72 kB / 435.6 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.529e-05/0.232, allocations: 32.75 kB / 435.7 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/0.2324, allocations: 292.8 kB / 436 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.2324, allocations: 12.94 kB / 436 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.843e-05/0.2324, allocations: 24.38 kB / 436 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006622/0.2331, allocations: 327.7 kB / 436.3 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2331, allocations: 0 / 436.3 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.2331, allocations: 15.94 kB / 436.3 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.2332, allocations: 4 kB / 436.3 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007747/0.2339, allocations: 282 kB / 436.6 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.2357, allocations: 1.108 MB / 437.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008523/0.2365, allocations: 238.5 kB / 437.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003194/0.2369, allocations: 96.78 kB / 438 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.2369, allocations: 4 kB / 438 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000445/0.2373, allocations: 168.9 kB / 438.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.2373, allocations: 0 / 438.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001059/0.2384, allocations: 317.2 kB / 438.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.706e-05/0.2385, allocations: 85.09 kB / 438.6 MB, free: 14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.2387, allocations: 266.6 kB / 438.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.2388, allocations: 29.7 kB / 438.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.2389, allocations: 195.9 kB / 439.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.239, allocations: 47.64 kB / 439.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.333e-05/0.2391, allocations: 45.7 kB / 439.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.2392, allocations: 330.8 kB / 439.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/0.2396, allocations: 104.2 kB / 439.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004066/0.24, allocations: 191.5 kB / 439.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007108/0.2407, allocations: 303 kB / 440.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2407, allocations: 0 / 440.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008621/0.2415, allocations: 362.8 kB / 440.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.569e-05/0.2416, allocations: 37.69 kB / 440.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.2416, allocations: 0 / 440.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.2416, allocations: 4 kB / 440.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.2419, allocations: 76.23 kB / 440.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.2419, allocations: 11.88 kB / 440.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.2422, allocations: 55.73 kB / 440.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.2422, allocations: 8 kB / 440.6 MB, free: 11.84 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.000154/0.2424, allocations: 149.7 kB / 440.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.2424, allocations: 31.8 kB / 440.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.559e-05/0.2425, allocations: 21.7 kB / 440.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2425, allocations: 4 kB / 440.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2425, allocations: 0 / 440.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2425, allocations: 3.938 kB / 440.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.2428, allocations: 313.5 kB / 441.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2428, allocations: 0 / 441.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.243, allocations: 39.95 kB / 441.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.243, allocations: 8 kB / 441.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.243, allocations: 0 / 441.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.243, allocations: 0 / 441.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.243, allocations: 0 / 441.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.2441, allocations: 380.6 kB / 441.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/0.2442, allocations: 100.9 kB / 441.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.2442, allocations: 4 kB / 441.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.2444, allocations: 32.03 kB / 441.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/0.2445, allocations: 15.92 kB / 441.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.2445, allocations: 11.98 kB / 441.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001873/0.2447, allocations: 186 kB / 441.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2447, allocations: 0 / 441.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002905/0.245, allocations: 67.84 kB / 442 MB, free: 10.4 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.001379/0.2464, allocations: 0.9089 MB / 442.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007626/0.2471, allocations: 283.3 kB / 443.1 MB, free: 9.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2471, allocations: 0 / 443.1 MB, free: 9.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003239/0.2475, allocations: 99.86 kB / 443.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.2478, allocations: 60.94 kB / 443.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004515/0.2523, allocations: 2.896 MB / 446.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.2526, allocations: 0.7516 MB / 447 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001028/0.2527, allocations: 30.28 kB / 447 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.2529, allocations: 79.41 kB / 447.1 MB, free: 5.09 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2529, allocations: 0 / 447.1 MB, free: 5.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/0.2834, allocations: 5.557 MB / 452.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.294/7.577, allocations: 3.453 kB / 452.6 MB, free: 15.64 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 --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: 9.58395574199676]