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.001264/0.001264, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001346/0.001346, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.407/1.407, allocations: 230.4 MB / 254.7 MB, free: 15.18 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.001956/0.001956, allocations: 79.81 kB / 373.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1104, allocations: 53.32 MB / 426.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004429/0.1149, allocations: 2.884 MB / 429.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.1163, allocations: 0.7634 MB / 430.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.1164, allocations: 4 kB / 430.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001688/0.1166, allocations: 43.58 kB / 430.6 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.1168, allocations: 99.17 kB / 430.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.1171, allocations: 115.8 kB / 430.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004257/0.1175, allocations: 390.5 kB / 431.2 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.1177, allocations: 95.25 kB / 431.3 MB, free: 420 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002738/0.118, allocations: 159.4 kB / 431.5 MB, free: 260 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.1182, allocations: 159.4 kB / 431.6 MB, free: 100 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.23e-05/0.1182, allocations: 36 kB / 431.7 MB, free: 64 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.217e-05/0.1183, allocations: 40 kB / 431.7 MB, free: 24 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1895/0.3078, allocations: 72.45 kB / 431.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002572/0.308, allocations: 168.3 kB / 431.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005401/0.3086, allocations: 428.8 kB / 432.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3086, allocations: 0.5 kB / 432.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3086, allocations: 0 / 432.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.3086, allocations: 0.9375 kB / 432.3 MB, free: 8.008 MB / 350.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.001197/0.3098, allocations: 0.6632 MB / 433 MB, free: 7.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3098, allocations: 10.72 kB / 433 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.645e-05/0.3099, allocations: 59.27 kB / 433.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.106e-05/0.31, allocations: 39.83 kB / 433.1 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.3103, allocations: 290.9 kB / 433.4 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.3103, allocations: 17.22 kB / 433.4 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/0.3104, allocations: 26.94 kB / 433.4 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006125/0.311, allocations: 318.9 kB / 433.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.311, allocations: 0.9375 kB / 433.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.311, allocations: 13.05 kB / 433.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.311, allocations: 7.062 kB / 433.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006794/0.3117, allocations: 270.8 kB / 434 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.3131, allocations: 1.115 MB / 435.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008176/0.314, allocations: 239 kB / 435.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.3143, allocations: 97.67 kB / 435.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.3143, allocations: 5.453 kB / 435.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004431/0.3147, allocations: 175.2 kB / 435.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.3147, allocations: 0 / 435.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001001/0.3157, allocations: 314.2 kB / 436 MB, free: 6.496 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.3158, allocations: 80.7 kB / 436 MB, free: 6.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.3161, allocations: 267.2 kB / 436.3 MB, free: 6.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.3161, allocations: 30.55 kB / 436.3 MB, free: 6.262 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.3162, allocations: 199.6 kB / 436.5 MB, free: 6.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.3162, allocations: 42.06 kB / 436.6 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-05/0.3163, allocations: 48.67 kB / 436.6 MB, free: 6.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.089e-05/0.3164, allocations: 337.7 kB / 437 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000328/0.3167, allocations: 99.47 kB / 437 MB, free: 5.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/0.3171, allocations: 193.2 kB / 437.2 MB, free: 5.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006545/0.3177, allocations: 306.7 kB / 437.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3177, allocations: 1.594 kB / 437.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007876/0.3185, allocations: 363.1 kB / 437.9 MB, free: 5.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.3185, allocations: 34.58 kB / 437.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3185, allocations: 2.406 kB / 437.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.3186, allocations: 4.188 kB / 437.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.3188, allocations: 67.66 kB / 438 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.3188, allocations: 10.75 kB / 438 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.3191, allocations: 52.19 kB / 438.1 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.3192, allocations: 9.484 kB / 438.1 MB, free: 5.383 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.0001096/0.3193, allocations: 151.4 kB / 438.2 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.3193, allocations: 22.58 kB / 438.2 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.068e-05/0.3193, allocations: 23.8 kB / 438.3 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3193, allocations: 6.469 kB / 438.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3194, allocations: 0.6094 kB / 438.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3194, allocations: 8.484 kB / 438.3 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.3196, allocations: 310.2 kB / 438.6 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3196, allocations: 3.328 kB / 438.6 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.3199, allocations: 42.64 kB / 438.6 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3199, allocations: 0 / 438.6 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.3199, allocations: 8.234 kB / 438.6 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3199, allocations: 8.125 kB / 438.6 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3199, allocations: 0 / 438.6 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009839/0.3209, allocations: 368.9 kB / 439 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.238e-05/0.3209, allocations: 100.3 kB / 439.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.321, allocations: 4 kB / 439.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.3212, allocations: 31.61 kB / 439.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.3213, allocations: 22.67 kB / 439.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.3213, allocations: 7.344 kB / 439.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001631/0.3214, allocations: 193.1 kB / 439.4 MB, free: 4.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3214, allocations: 0 / 439.4 MB, free: 4.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.3217, allocations: 66.98 kB / 439.4 MB, free: 4.75 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.00114/0.3229, allocations: 0.9007 MB / 440.3 MB, free: 4.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007199/0.3236, allocations: 291.9 kB / 440.6 MB, free: 4.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3236, allocations: 0 / 440.6 MB, free: 4.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003142/0.3239, allocations: 99.23 kB / 440.7 MB, free: 3.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.3242, allocations: 43.86 kB / 440.7 MB, free: 3.977 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00401/0.3282, allocations: 2.902 MB / 443.6 MB, free: 2.066 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.3284, allocations: 0.7504 MB / 444.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.3285, allocations: 27.53 kB / 444.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.3286, allocations: 80.58 kB / 444.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3286, allocations: 3.938 kB / 444.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/0.3599, allocations: 5.583 MB / 450.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.873/8.233, allocations: 13.34 kB / 450.1 MB, free: 0.6797 MB / 350.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.480754368007183] Failed to read output from testmodel.py, exit status != 0: ['time', 'der_.c.v', 'der_.opAmp.out.v', 'der_.opAmp.out.i'] 8.304890152998269 8.33037895 8.017005403 Calling exit ...