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.001856/0.001856, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.002251/0.002251, allocations: 204.7 kB / 24.51 MB, free: 3.945 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.441/1.441, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.001979/0.001979, allocations: 59.89 kB / 378.5 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2964, allocations: 53.41 MB / 431.9 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.00617/0.3026, allocations: 4.064 MB / 436 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00262/0.3052, allocations: 1.199 MB / 437.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005176/0.3057, allocations: 15.88 kB / 437.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006528/0.3064, allocations: 146.7 kB / 437.4 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008421/0.3072, allocations: 210.2 kB / 437.6 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006523/0.3078, allocations: 199.6 kB / 437.8 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001148/0.309, allocations: 0.767 MB / 438.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003902/0.3094, allocations: 199 kB / 438.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003897/0.3098, allocations: 302.9 kB / 439 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004318/0.3102, allocations: 326.5 kB / 439.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.676e-05/0.3103, allocations: 68 kB / 439.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.3104, allocations: 68 kB / 439.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.3106, allocations: 151.4 kB / 439.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002969/0.3109, allocations: 294.6 kB / 439.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008626/0.3117, allocations: 0.7663 MB / 440.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3118, allocations: 0 / 440.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3118, allocations: 0 / 440.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.946e-06/0.3118, allocations: 0 / 440.7 MB, free: 13.68 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.00174/0.3135, allocations: 0.9503 MB / 441.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.3135, allocations: 15.97 kB / 441.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.607e-05/0.3136, allocations: 13.5 kB / 441.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.3137, allocations: 98.7 kB / 441.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000301/0.314, allocations: 96.44 kB / 441.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006143/0.3146, allocations: 372.2 kB / 442.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/0.3146, allocations: 45.69 kB / 442.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.98e-05/0.3147, allocations: 55.94 kB / 442.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.3158, allocations: 0.6759 MB / 443 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.3159, allocations: 0 / 443 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.311e-05/0.3159, allocations: 24 kB / 443 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.3159, allocations: 16 kB / 443 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007658/0.3167, allocations: 397 kB / 443.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003206/0.3199, allocations: 1.571 MB / 445 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007687/0.3207, allocations: 358 kB / 445.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009449/0.3216, allocations: 409.1 kB / 445.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.3217, allocations: 4 kB / 445.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006649/0.3223, allocations: 0.4996 MB / 446.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.184e-06/0.3223, allocations: 4 kB / 446.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002945/0.3253, allocations: 0.9464 MB / 447.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.3254, allocations: 239.3 kB / 447.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005243/0.326, allocations: 445.8 kB / 447.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/0.326, allocations: 41.64 kB / 447.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.3262, allocations: 320.8 kB / 448.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.3264, allocations: 154.7 kB / 448.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.3265, allocations: 94.3 kB / 448.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.3267, allocations: 358.8 kB / 448.8 MB, free: 5.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.327, allocations: 137.2 kB / 448.9 MB, free: 5.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005408/0.3276, allocations: 481.7 kB / 449.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006555/0.3282, allocations: 415.4 kB / 449.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.3282, allocations: 4 kB / 449.8 MB, free: 3.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001353/0.3296, allocations: 0.6642 MB / 450.5 MB, free: 3.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.3296, allocations: 8.031 kB / 450.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.3296, allocations: 4 kB / 450.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000827/0.3304, allocations: 224.5 kB / 450.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/0.3308, allocations: 87.83 kB / 450.8 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004087/0.3349, allocations: 2.706 MB / 453.5 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004705/0.3353, allocations: 71.61 kB / 453.6 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.3354, allocations: 28.05 kB / 453.6 MB, free: 84 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.0002846/0.3357, allocations: 181.7 kB / 453.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.929e-05/0.3357, allocations: 59.61 kB / 453.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.3358, allocations: 56.97 kB / 453.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3358, allocations: 4 kB / 453.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3358, allocations: 0 / 453.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.3359, allocations: 3.984 kB / 453.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.3377, allocations: 1.082 MB / 455 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3377, allocations: 0 / 455 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.3379, allocations: 51.91 kB / 455 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007699/0.3387, allocations: 231.2 kB / 455.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/0.3387, allocations: 15.92 kB / 455.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003867/0.3426, allocations: 2.749 MB / 458 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.3426, allocations: 0 / 458 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.3441, allocations: 0.8262 MB / 458.8 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.3443, allocations: 59.62 kB / 458.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.436e-05/0.3443, allocations: 8 kB / 458.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/0.3447, allocations: 39.97 kB / 459 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.095e-05/0.3447, allocations: 35.92 kB / 459 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.3448, allocations: 12 kB / 459 MB, free: 10.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003618/0.3451, allocations: 307.1 kB / 459.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3451, allocations: 4 kB / 459.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000641/0.3458, allocations: 183.7 kB / 459.5 MB, free: 9.996 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.001927/0.3477, allocations: 1.381 MB / 460.9 MB, free: 8.586 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.3488, allocations: 0.5498 MB / 461.4 MB, free: 8.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3488, allocations: 0 / 461.4 MB, free: 8.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006181/0.3494, allocations: 375.1 kB / 461.8 MB, free: 7.641 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.3499, allocations: 77.88 kB / 461.9 MB, free: 7.559 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007828/0.3578, allocations: 4.827 MB / 466.7 MB, free: 2.551 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.3581, allocations: 267.8 kB / 466.9 MB, free: 2.262 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002161/0.3583, allocations: 56.56 kB / 467 MB, free: 2.207 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002833/0.3586, allocations: 191.3 kB / 467.2 MB, free: 2.02 MB / 366.1 MB Notification: Performance of SimCode: time 1.462e-06/0.3586, allocations: 0 / 467.2 MB, free: 2.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04185/0.4004, allocations: 12.83 MB / 480 MB, free: 5.426 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/13.85, allocations: 6.406 kB / 480 MB, free: 5.422 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.366647248039953] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.v_out', 'rootMeanSquare.mean.x'] 14.038479548995383 14.065030767 13.749795167 Calling exit ...