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.001407/0.001407, allocations: 120.1 kB / 18.49 MB, free: 4.59 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.001613/0.001613, allocations: 214.2 kB / 21.45 MB, free: 1.637 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.433/1.433, allocations: 230.5 MB / 254.7 MB, free: 14.87 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.002067/0.002067, allocations: 59.91 kB / 373.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1023, allocations: 53.38 MB / 427.1 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006311/0.1086, allocations: 4.524 MB / 431.6 MB, free: 44 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2175/0.3261, allocations: 1.235 MB / 432.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002712/0.3264, allocations: 18.22 kB / 432.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003997/0.3268, allocations: 147.3 kB / 433 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004028/0.3272, allocations: 208 kB / 433.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.3277, allocations: 208.5 kB / 433.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007641/0.3285, allocations: 0.7654 MB / 434.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003241/0.3288, allocations: 198.6 kB / 434.4 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003667/0.3291, allocations: 304.4 kB / 434.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003685/0.3295, allocations: 329.2 kB / 435 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.958e-05/0.3296, allocations: 64.47 kB / 435.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.3298, allocations: 71.94 kB / 435.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.3299, allocations: 157.1 kB / 435.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002556/0.3301, allocations: 346.5 kB / 435.6 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000867/0.331, allocations: 0.7589 MB / 436.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.331, allocations: 1.344 kB / 436.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.331, allocations: 0 / 436.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.331, allocations: 0 / 436.4 MB, free: 6.789 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.001621/0.3326, allocations: 0.9735 MB / 437.4 MB, free: 6.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3327, allocations: 11.61 kB / 437.4 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.635e-05/0.3327, allocations: 15.16 kB / 437.4 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001073/0.3328, allocations: 103 kB / 437.5 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003234/0.3331, allocations: 91.98 kB / 437.6 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006255/0.3338, allocations: 436.4 kB / 438 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/0.3338, allocations: 44.81 kB / 438.1 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.3339, allocations: 64.38 kB / 438.1 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.3349, allocations: 491.8 kB / 438.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.335, allocations: 0 / 438.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.935e-05/0.335, allocations: 21.44 kB / 438.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.335, allocations: 13.98 kB / 438.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008971/0.3359, allocations: 397.3 kB / 439 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003479/0.3394, allocations: 1.757 MB / 440.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007107/0.3401, allocations: 0.4977 MB / 441.3 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009853/0.3411, allocations: 423.5 kB / 441.7 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/0.3412, allocations: 4.844 kB / 441.7 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005295/0.3417, allocations: 294.9 kB / 442 MB, free: 3.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.994e-06/0.3417, allocations: 1.656 kB / 442 MB, free: 3.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.003516/0.3452, allocations: 1.127 MB / 443.1 MB, free: 3.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.3453, allocations: 237.7 kB / 443.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005791/0.3458, allocations: 436.5 kB / 443.8 MB, free: 2.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.248e-05/0.3459, allocations: 37.56 kB / 443.8 MB, free: 2.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.3461, allocations: 317.8 kB / 444.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.368e-05/0.3462, allocations: 158.4 kB / 444.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.3463, allocations: 97 kB / 444.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.824e-05/0.3464, allocations: 364.7 kB / 444.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.3467, allocations: 137.4 kB / 444.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.347, allocations: 308.3 kB / 445.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005481/0.3476, allocations: 425.2 kB / 445.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3476, allocations: 1.031 kB / 445.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001379/0.3489, allocations: 0.691 MB / 446.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.349, allocations: 6.75 kB / 446.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.349, allocations: 3.406 kB / 446.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009336/0.3499, allocations: 262.1 kB / 446.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/0.3502, allocations: 73.39 kB / 446.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004694/0.3549, allocations: 3.124 MB / 449.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008951/0.3558, allocations: 78.83 kB / 449.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/0.3558, allocations: 20.5 kB / 449.8 MB, free: 14.76 MB / 366.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.satNeg,opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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,20)} Notification: Performance of prepare postOptimizeDAE: time 0.000406/0.3563, allocations: 183.2 kB / 450 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.3564, allocations: 54.69 kB / 450.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.3565, allocations: 58.19 kB / 450.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3565, allocations: 4.562 kB / 450.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3565, allocations: 1.219 kB / 450.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.3566, allocations: 6.703 kB / 450.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003174/0.3597, allocations: 1.199 MB / 451.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.3597, allocations: 3.938 kB / 451.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.36, allocations: 36.23 kB / 451.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001291/0.3613, allocations: 263.5 kB / 451.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/0.3613, allocations: 6.891 kB / 451.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00676/0.3681, allocations: 3.164 MB / 454.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3681, allocations: 0 / 454.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/0.3707, allocations: 0.851 MB / 455.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.371, allocations: 130.6 kB / 455.8 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.3711, allocations: 16.47 kB / 455.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005563/0.3717, allocations: 37.84 kB / 455.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.3718, allocations: 34.58 kB / 455.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.267e-05/0.3719, allocations: 14.03 kB / 455.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006336/0.3725, allocations: 305.8 kB / 456.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3725, allocations: 4 kB / 456.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001235/0.3737, allocations: 194.9 kB / 456.4 MB, free: 10.76 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,opAmp.satPos,opAmp.satNeg,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002752/0.3765, allocations: 1.406 MB / 457.8 MB, free: 9.797 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001758/0.3782, allocations: 0.5746 MB / 458.3 MB, free: 9.516 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.3782, allocations: 5.062 kB / 458.4 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.3793, allocations: 404.7 kB / 458.7 MB, free: 9.297 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009276/0.3802, allocations: 83.91 kB / 458.8 MB, free: 9.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.3917, allocations: 4.89 MB / 463.7 MB, free: 6.379 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007407/0.3924, allocations: 0.8686 MB / 464.6 MB, free: 5.602 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003764/0.3928, allocations: 47.06 kB / 464.6 MB, free: 5.582 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003761/0.3932, allocations: 191 kB / 464.8 MB, free: 5.418 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3932, allocations: 1.094 kB / 464.8 MB, free: 5.418 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0424/0.4356, allocations: 12.88 MB / 477.7 MB, free: 12.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13, allocations: 10.72 kB / 477.7 MB, free: 12.41 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.620564312965143] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.v_out', 'rootMeanSquare.mean.x'] 13.168509420007467 13.189333772 12.85440113 Calling exit ...