Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.0008202/0.0008202, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007716/0.0007716, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9029/0.9029, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.DifferenceAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.032e-05, allocations: 2.984 kB / 324.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.004855/0.004875, allocations: 5.364 MB / 329.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.007391, allocations: 1.513 MB / 331.4 MB, free: 8.934 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006085/0.007999, allocations: 19.94 kB / 331.4 MB, free: 8.914 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.008347, allocations: 178.2 kB / 331.6 MB, free: 8.738 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005424/0.00889, allocations: 317 kB / 331.9 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000869/0.009759, allocations: 411.3 kB / 332.3 MB, free: 8.023 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001352/0.01111, allocations: 1.433 MB / 333.8 MB, free: 6.586 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004001/0.01151, allocations: 277.7 kB / 334 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009802/0.01249, allocations: 0.7758 MB / 334.8 MB, free: 5.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004931/0.01298, allocations: 434.8 kB / 335.2 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.01315, allocations: 136 kB / 335.4 MB, free: 4.961 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.01346, allocations: 176 kB / 335.5 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.01361, allocations: 283 kB / 335.8 MB, free: 4.512 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000405/0.01402, allocations: 419.1 kB / 336.2 MB, free: 4.102 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.01524, allocations: 1.616 MB / 337.8 MB, free: 2.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.01525, allocations: 0 / 337.8 MB, free: 2.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.01525, allocations: 0 / 337.8 MB, free: 2.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.69e-05/0.01529, allocations: 11.92 kB / 337.8 MB, free: 2.469 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.001871/0.01716, allocations: 1.319 MB / 339.2 MB, free: 1.109 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.0172, allocations: 11.98 kB / 339.2 MB, free: 1.098 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001214/0.01732, allocations: 139.6 kB / 339.3 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002685/0.01759, allocations: 128.2 kB / 339.4 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006321/0.01822, allocations: 0.4971 MB / 339.9 MB, free: 312 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/0.01826, allocations: 70.38 kB / 340 MB, free: 244 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.472e-05/0.01835, allocations: 84.38 kB / 340.1 MB, free: 160 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.01951, allocations: 1.102 MB / 341.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.01953, allocations: 192 / 341.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.65e-05/0.01958, allocations: 40.12 kB / 341.2 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.0196, allocations: 24 kB / 341.2 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.02067, allocations: 0.855 MB / 342.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00355/0.02422, allocations: 2.887 MB / 345 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009654/0.02519, allocations: 0.6218 MB / 345.6 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004439/0.02563, allocations: 395.4 kB / 346 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.345e-05/0.02568, allocations: 12.64 kB / 346 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.02571, allocations: 47.16 kB / 346.1 MB, free: 9.965 MB / 314.7 MB Notification: Performance of pre-optimization done (n=69): time 3.035e-06/0.02571, allocations: 0 / 346.1 MB, free: 9.965 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.003041/0.02875, allocations: 2.198 MB / 348.3 MB, free: 7.738 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.02879, allocations: 64 kB / 348.3 MB, free: 7.664 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005255/0.02931, allocations: 0.6134 MB / 348.9 MB, free: 7.039 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.064e-05/0.02936, allocations: 45.64 kB / 349 MB, free: 6.988 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.02957, allocations: 452.3 kB / 349.4 MB, free: 6.539 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.02971, allocations: 265.7 kB / 349.7 MB, free: 6.277 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.02987, allocations: 150.6 kB / 349.8 MB, free: 6.125 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.02999, allocations: 386.7 kB / 350.2 MB, free: 5.738 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004212/0.03041, allocations: 325.9 kB / 350.5 MB, free: 5.418 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004754/0.03088, allocations: 472.6 kB / 351 MB, free: 4.906 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009099/0.03179, allocations: 0.8047 MB / 351.8 MB, free: 4.055 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.0318, allocations: 4 kB / 351.8 MB, free: 4.051 MB / 314.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001372/0.03317, allocations: 1.107 MB / 352.9 MB, free: 2.934 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.03319, allocations: 11.94 kB / 352.9 MB, free: 2.922 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.0332, allocations: 0 / 352.9 MB, free: 2.922 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003761/0.03358, allocations: 191.8 kB / 353.1 MB, free: 2.734 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000477/0.03405, allocations: 203.7 kB / 353.3 MB, free: 2.535 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002527/0.03658, allocations: 2.748 MB / 356 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/0.03706, allocations: 36.03 kB / 356.1 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.0371, allocations: 28 kB / 356.1 MB, free: 15.62 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (90): * Single equations (assignments): 89 * 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 {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003291/0.03743, allocations: 237.6 kB / 356.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.791e-05/0.03753, allocations: 83.48 kB / 356.4 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.03764, allocations: 103.2 kB / 356.5 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.03764, allocations: 8 kB / 356.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/0.03766, allocations: 4 kB / 356.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.03766, allocations: 3.984 kB / 356.5 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007281/0.03839, allocations: 0.7045 MB / 357.2 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.0384, allocations: 4 kB / 357.2 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003845/0.03878, allocations: 147.8 kB / 357.4 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003272/0.03911, allocations: 180.7 kB / 357.6 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.61e-05/0.03916, allocations: 23.92 kB / 357.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/0.0415, allocations: 2.75 MB / 360.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.0415, allocations: 4 kB / 360.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.04322, allocations: 1.42 MB / 361.8 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.04335, allocations: 75.47 kB / 361.8 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.713e-05/0.04342, allocations: 15.94 kB / 361.9 MB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.04372, allocations: 55.95 kB / 361.9 MB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.04383, allocations: 60.47 kB / 362 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/0.04387, allocations: 23.98 kB / 362 MB, free: 9.543 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000352/0.04422, allocations: 431.1 kB / 362.4 MB, free: 9.129 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04422, allocations: 0 / 362.4 MB, free: 9.129 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006092/0.04483, allocations: 240 kB / 362.6 MB, free: 8.895 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.vcs,Transistor2.ct.v,Transistor2.Tr.vcs) * 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 (56): * Single equations (assignments): 55 * 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 {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001931/0.04676, allocations: 2.007 MB / 364.7 MB, free: 6.859 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.04841, allocations: 0.9901 MB / 365.6 MB, free: 5.855 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.04842, allocations: 0.8125 kB / 365.6 MB, free: 5.855 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009058/0.04932, allocations: 0.6113 MB / 366.3 MB, free: 5.227 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006332/0.04996, allocations: 147 kB / 366.4 MB, free: 5.082 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008655/0.05861, allocations: 7.294 MB / 373.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.05889, allocations: 391.2 kB / 374.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003161/0.0592, allocations: 89.47 kB / 374.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.05951, allocations: 320.4 kB / 374.5 MB, free: 12.74 MB / 346.7 MB Notification: Performance of SimCode: time 1.293e-06/0.05951, allocations: 0 / 374.5 MB, free: 12.74 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03246/0.09197, allocations: 20.77 MB / 395.2 MB, free: 8.238 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.388/7.48, allocations: 3.938 kB / 395.2 MB, free: 8.234 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_DifferenceAmplifier_fmu --startTime=0 --stopTime=1e-08 --stepSize=1.9988e-12 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_DifferenceAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.123386929742992] Failed to read output from testmodel.py, exit status != 0: ['time', 'C1.v', 'C2.v', 'C3.v', 'C4.v', 'C5.v', 'Transistor1.Tr.C.v', 'Transistor1.ct.v', 'Transistor2.Tr.C.v', 'Transistor2.ct.v'] 7.573776228353381 7.58210833 7.565088263 Calling exit ...