Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.001312/0.001312, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001319/0.001319, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.433/1.433, allocations: 230.5 MB / 254.7 MB, free: 15.02 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.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",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.001882/0.001882, allocations: 75.83 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09955/0.1014, allocations: 53.32 MB / 426.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004584/0.106, allocations: 3.254 MB / 430.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.1079, allocations: 1.025 MB / 431.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.1081, allocations: 8 kB / 431.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.1083, allocations: 59.41 kB / 431.2 MB, free: 492 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004044/0.1087, allocations: 126.9 kB / 431.4 MB, free: 364 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.1091, allocations: 163.6 kB / 431.5 MB, free: 200 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2007/0.3098, allocations: 481.7 kB / 432 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002639/0.3101, allocations: 89.14 kB / 432.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004177/0.3105, allocations: 195.5 kB / 432.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.3108, allocations: 208.1 kB / 432.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.892e-05/0.3109, allocations: 39.75 kB / 432.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.311, allocations: 79.34 kB / 432.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.083e-05/0.3111, allocations: 97.34 kB / 432.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.3113, allocations: 213.1 kB / 432.9 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005226/0.3118, allocations: 0.5052 MB / 433.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3118, allocations: 0 / 433.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3118, allocations: 0 / 433.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.3118, allocations: 1.938 kB / 433.4 MB, free: 7.473 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00115/0.313, allocations: 0.7426 MB / 434.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.313, allocations: 10.34 kB / 434.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.421e-05/0.3131, allocations: 71.14 kB / 434.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.3133, allocations: 55.66 kB / 434.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.3136, allocations: 319.4 kB / 434.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.3137, allocations: 25.22 kB / 434.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.837e-05/0.3137, allocations: 33.41 kB / 434.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005553/0.3143, allocations: 354.8 kB / 435 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3143, allocations: 4.5 kB / 435 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.3143, allocations: 13.94 kB / 435 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.3143, allocations: 7.469 kB / 435 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004496/0.3148, allocations: 234 kB / 435.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.3165, allocations: 1.173 MB / 436.4 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006034/0.3171, allocations: 266.2 kB / 436.7 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004671/0.3176, allocations: 196.4 kB / 436.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005016/0.3181, allocations: 1.113 MB / 438 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.3181, allocations: 37.72 kB / 438 MB, free: 4.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.703e-06/0.3181, allocations: 5.875 kB / 438 MB, free: 4.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001294/0.3194, allocations: 0.5314 MB / 438.6 MB, free: 4.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.3195, allocations: 80.84 kB / 438.6 MB, free: 4.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/0.3198, allocations: 337.2 kB / 439 MB, free: 4.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.3199, allocations: 31.42 kB / 439 MB, free: 4.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.32, allocations: 220 kB / 439.2 MB, free: 4.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.937e-05/0.32, allocations: 103.5 kB / 439.3 MB, free: 4.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.3201, allocations: 71.31 kB / 439.4 MB, free: 4.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.867e-05/0.3202, allocations: 354.5 kB / 439.7 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.3204, allocations: 105.4 kB / 439.8 MB, free: 3.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.3207, allocations: 181.5 kB / 440 MB, free: 3.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/0.3211, allocations: 287.9 kB / 440.3 MB, free: 3.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3211, allocations: 1.062 kB / 440.3 MB, free: 3.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007629/0.3219, allocations: 432.7 kB / 440.7 MB, free: 3.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3219, allocations: 5.75 kB / 440.7 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.3219, allocations: 2.75 kB / 440.7 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002533/0.3222, allocations: 70.89 kB / 440.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.3225, allocations: 81 kB / 440.9 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.3239, allocations: 1.948 MB / 442.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/0.3241, allocations: 44.58 kB / 442.9 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.3242, allocations: 15.34 kB / 442.9 MB, free: 1.461 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.3243, allocations: 161.9 kB / 443 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.43e-05/0.3244, allocations: 37.27 kB / 443.1 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000658/0.325, allocations: 328.5 kB / 443.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.325, allocations: 2.281 kB / 443.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.325, allocations: 5.281 kB / 443.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.325, allocations: 1.828 kB / 443.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004102/0.3254, allocations: 400.8 kB / 443.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3255, allocations: 0.5625 kB / 443.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/0.3258, allocations: 57.86 kB / 443.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001773/0.326, allocations: 58.36 kB / 443.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.326, allocations: 8.344 kB / 443.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002754/0.3263, allocations: 0.6155 MB / 444.5 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3263, allocations: 0 / 444.5 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009011/0.3272, allocations: 0.5161 MB / 445.1 MB, free: 0 / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.3273, allocations: 117.5 kB / 445.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.079e-05/0.3273, allocations: 10.94 kB / 445.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.3276, allocations: 21.31 kB / 445.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.3276, allocations: 18.36 kB / 445.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.3277, allocations: 7.344 kB / 445.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002682/0.3279, allocations: 241.6 kB / 445.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3279, allocations: 0 / 445.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000462/0.3284, allocations: 108 kB / 445.6 MB, free: 15.71 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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 {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001332/0.3297, allocations: 1.092 MB / 446.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008204/0.3305, allocations: 392.2 kB / 447 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3305, allocations: 0 / 447 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003431/0.3309, allocations: 135.8 kB / 447.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.3313, allocations: 53.94 kB / 447.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005191/0.3364, allocations: 3.75 MB / 451 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.3369, allocations: 0.7908 MB / 451.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001616/0.337, allocations: 40.31 kB / 451.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.3372, allocations: 126.1 kB / 451.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3372, allocations: 6.562 kB / 451.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04999/0.3872, allocations: 7.847 MB / 459.8 MB, free: 9.523 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.54, allocations: 13.42 kB / 459.8 MB, free: 9.512 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed_fmu --startTime=0 --stopTime=0.003 --stepSize=1.2e-06 --timeout=50 --tolerance=2e-07 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.829423181712627] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.q_fp1', 'opAmp.q_fr1', 'opAmp.q_fr2', 'opAmp.q_fr3', 'opAmp.v_in', 'opAmp.v_source', 'opAmp.x'] 12.634469115640968 12.64711419 12.332516899 Calling exit ...