Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.001822/0.001822, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002314/0.002314, allocations: 216.5 kB / 24.53 MB, free: 4.012 MB / 14.72 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 1.519/1.519, allocations: 230.5 MB / 258.2 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.DifferentialAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 67.89 kB / 378.6 MB, free: 3.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2827, allocations: 53.41 MB / 432 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006229/0.289, allocations: 4.533 MB / 436.5 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002672/0.2916, allocations: 1.269 MB / 437.8 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003877/0.292, allocations: 15.94 kB / 437.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004683/0.2925, allocations: 146.6 kB / 438 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004664/0.2929, allocations: 206.2 kB / 438.2 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00051/0.2935, allocations: 207.6 kB / 438.4 MB, free: 308 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009126/0.2944, allocations: 0.7592 MB / 439.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004169/0.2948, allocations: 198.9 kB / 439.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004242/0.2952, allocations: 306.8 kB / 439.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000447/0.2957, allocations: 326.5 kB / 440 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.545e-05/0.2958, allocations: 64 kB / 440 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.2959, allocations: 72 kB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.296, allocations: 159.4 kB / 440.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003244/0.2964, allocations: 346.2 kB / 440.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008372/0.2972, allocations: 0.7667 MB / 441.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2972, allocations: 0 / 441.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2972, allocations: 0 / 441.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.2972, allocations: 0 / 441.3 MB, free: 13.32 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001801/0.299, allocations: 0.9503 MB / 442.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.2991, allocations: 11.97 kB / 442.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.632e-05/0.2991, allocations: 17.48 kB / 442.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.2992, allocations: 102.7 kB / 442.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000303/0.2995, allocations: 96.45 kB / 442.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005755/0.3001, allocations: 364.2 kB / 442.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.916e-05/0.3001, allocations: 45.69 kB / 442.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.559e-05/0.3002, allocations: 55.94 kB / 443 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000876/0.3011, allocations: 486.5 kB / 443.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.3011, allocations: 0 / 443.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.402e-05/0.3012, allocations: 27.98 kB / 443.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.3012, allocations: 16 kB / 443.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007476/0.3019, allocations: 401 kB / 443.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002984/0.3049, allocations: 1.704 MB / 445.6 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007219/0.3056, allocations: 362 kB / 445.9 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.3066, allocations: 413.1 kB / 446.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.3067, allocations: 4 kB / 446.3 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005125/0.3072, allocations: 294 kB / 446.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.793e-06/0.3072, allocations: 3.938 kB / 446.6 MB, free: 7.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002944/0.3101, allocations: 0.9464 MB / 447.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001779/0.3103, allocations: 247.2 kB / 447.8 MB, free: 6.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005429/0.3109, allocations: 445.8 kB / 448.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.3109, allocations: 33.7 kB / 448.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.3112, allocations: 316.8 kB / 448.6 MB, free: 5.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.3113, allocations: 154.7 kB / 448.8 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.3115, allocations: 98.3 kB / 448.9 MB, free: 5.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.3116, allocations: 354.8 kB / 449.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/0.3119, allocations: 149.2 kB / 449.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004297/0.3124, allocations: 301.8 kB / 449.6 MB, free: 4.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006712/0.313, allocations: 415.4 kB / 450 MB, free: 4.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.313, allocations: 0 / 450 MB, free: 4.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001454/0.3145, allocations: 0.6642 MB / 450.7 MB, free: 3.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.3145, allocations: 10.5 kB / 450.7 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.3145, allocations: 7.984 kB / 450.7 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008801/0.3154, allocations: 224.6 kB / 450.9 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.3157, allocations: 83.83 kB / 451 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004416/0.3202, allocations: 2.742 MB / 453.8 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005427/0.3207, allocations: 83.66 kB / 453.9 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.3207, allocations: 16 kB / 453.9 MB, free: 272 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last,opAmp.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003028/0.321, allocations: 189.2 kB / 454.1 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.411e-05/0.3211, allocations: 59.59 kB / 454.1 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.3213, allocations: 57.05 kB / 454.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.872e-06/0.3213, allocations: 4 kB / 454.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3213, allocations: 0 / 454.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3213, allocations: 7.984 kB / 454.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/0.3234, allocations: 1.141 MB / 455.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3234, allocations: 0 / 455.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.3236, allocations: 47.91 kB / 455.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000791/0.3244, allocations: 228.7 kB / 455.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/0.3244, allocations: 23.86 kB / 455.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004115/0.3285, allocations: 2.783 MB / 458.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3286, allocations: 4 kB / 458.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.3302, allocations: 0.8184 MB / 459.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.3303, allocations: 59.56 kB / 459.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.579e-05/0.3304, allocations: 8 kB / 459.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/0.3307, allocations: 44.03 kB / 459.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.589e-05/0.3308, allocations: 35.92 kB / 459.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.3309, allocations: 16 kB / 459.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003752/0.3312, allocations: 307.1 kB / 459.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3312, allocations: 0 / 459.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006654/0.3319, allocations: 187.7 kB / 459.9 MB, free: 10.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition1,rootMeanSquare.mean.y_last,opAmp.satNeg,opAmp.satPos) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00197/0.3339, allocations: 1.373 MB / 461.2 MB, free: 8.672 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.3351, allocations: 0.5497 MB / 461.8 MB, free: 8.105 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3351, allocations: 0 / 461.8 MB, free: 8.105 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006265/0.3357, allocations: 379.1 kB / 462.2 MB, free: 7.723 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005187/0.3362, allocations: 73.88 kB / 462.2 MB, free: 7.645 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007544/0.3438, allocations: 4.819 MB / 467 MB, free: 2.645 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005355/0.3443, allocations: 0.8748 MB / 467.9 MB, free: 1.742 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002005/0.3445, allocations: 52.38 kB / 468 MB, free: 1.691 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.3447, allocations: 187.4 kB / 468.2 MB, free: 1.508 MB / 366.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3447, allocations: 0 / 468.2 MB, free: 1.508 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04059/0.3853, allocations: 12.9 MB / 481.1 MB, free: 4.801 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.55, allocations: 11.92 kB / 481.1 MB, free: 4.789 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.21698764996836] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.v_out', 'rootMeanSquare.mean.x'] 13.745762725011446 13.762495711 13.461728773 Calling exit ...