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.00137/0.00137, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001395/0.001395, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.464/1.464, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.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 0.001863/0.001863, allocations: 67.89 kB / 373.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1245, allocations: 53.33 MB / 426.7 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.2246/0.3491, allocations: 6.094 MB / 432.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002948/0.3521, allocations: 1.568 MB / 434.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004314/0.3525, allocations: 19.97 kB / 434.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.3528, allocations: 168.6 kB / 434.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005063/0.3533, allocations: 296.8 kB / 434.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007748/0.3541, allocations: 409.2 kB / 435.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001106/0.3552, allocations: 1.397 MB / 436.6 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004206/0.3556, allocations: 297.7 kB / 436.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006119/0.3562, allocations: 0.4958 MB / 437.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000654/0.3569, allocations: 0.5684 MB / 438 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001809/0.3571, allocations: 135.8 kB / 438.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.3574, allocations: 183.6 kB / 438.3 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.3576, allocations: 280.5 kB / 438.6 MB, free: 6.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004505/0.358, allocations: 0.578 MB / 439.1 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001747/0.3598, allocations: 1.548 MB / 440.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3598, allocations: 0 / 440.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3598, allocations: 5.094 kB / 440.7 MB, free: 5.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.266e-05/0.3598, allocations: 0 / 440.7 MB, free: 5.137 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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002828/0.3627, allocations: 1.42 MB / 442.1 MB, free: 4.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.3627, allocations: 10.22 kB / 442.1 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001645/0.3629, allocations: 137.4 kB / 442.3 MB, free: 4.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000386/0.3633, allocations: 130 kB / 442.4 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009057/0.3642, allocations: 0.5554 MB / 442.9 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.106e-05/0.3642, allocations: 65.69 kB / 443 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.3644, allocations: 95.39 kB / 443.1 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.3661, allocations: 0.8487 MB / 443.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.3661, allocations: 0.5 kB / 444 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-05/0.3662, allocations: 37.81 kB / 444 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.559e-05/0.3662, allocations: 22.14 kB / 444 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.3679, allocations: 0.8597 MB / 444.9 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005585/0.3735, allocations: 3.224 MB / 448.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.3746, allocations: 0.6275 MB / 448.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006351/0.3752, allocations: 391.1 kB / 449.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.33e-05/0.3753, allocations: 19.08 kB / 449.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.3753, allocations: 44.36 kB / 449.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.375e-06/0.3753, allocations: 0 / 449.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004707/0.38, allocations: 2.264 MB / 451.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/0.3801, allocations: 63.5 kB / 451.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008954/0.381, allocations: 0.6084 MB / 452.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.01e-05/0.3811, allocations: 40.64 kB / 452.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00038/0.3814, allocations: 457.1 kB / 452.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/0.3817, allocations: 268.6 kB / 452.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003009/0.382, allocations: 148 kB / 453 MB, free: 14.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002458/0.3822, allocations: 387.7 kB / 453.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006648/0.3829, allocations: 322.2 kB / 453.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008031/0.3837, allocations: 470.6 kB / 454.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.3852, allocations: 0.811 MB / 455 MB, free: 13.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3852, allocations: 1.094 kB / 455 MB, free: 13.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002329/0.3875, allocations: 1.113 MB / 456.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.3875, allocations: 7.219 kB / 456.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.3875, allocations: 9.438 kB / 456.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005687/0.3881, allocations: 179.6 kB / 456.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008747/0.389, allocations: 206.8 kB / 456.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004254/0.3932, allocations: 2.88 MB / 459.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007914/0.394, allocations: 35.05 kB / 459.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.365e-05/0.3941, allocations: 36.05 kB / 459.4 MB, free: 10.34 MB / 366.1 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.000469/0.3946, allocations: 225.3 kB / 459.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.3947, allocations: 87.05 kB / 459.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.3949, allocations: 98.45 kB / 459.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.3949, allocations: 11.38 kB / 459.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.18e-05/0.3949, allocations: 3.562 kB / 459.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.3949, allocations: 7.984 kB / 459.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.3962, allocations: 0.8921 MB / 460.7 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.768e-06/0.3962, allocations: 0.875 kB / 460.7 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007445/0.3969, allocations: 148.8 kB / 460.9 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005177/0.3975, allocations: 182.8 kB / 461.1 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.156e-05/0.3975, allocations: 22.23 kB / 461.1 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004054/0.4016, allocations: 2.888 MB / 464 MB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4016, allocations: 4 kB / 464 MB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/0.4043, allocations: 1.428 MB / 465.4 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.4046, allocations: 147.7 kB / 465.5 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.4047, allocations: 16.56 kB / 465.6 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005898/0.4053, allocations: 52.3 kB / 465.6 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.4054, allocations: 51.8 kB / 465.7 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.527e-05/0.4055, allocations: 28.8 kB / 465.7 MB, free: 5.738 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005492/0.406, allocations: 428 kB / 466.1 MB, free: 5.488 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.406, allocations: 0 / 466.1 MB, free: 5.488 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008861/0.4069, allocations: 247.6 kB / 466.3 MB, free: 5.453 MB / 366.1 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.003098/0.41, allocations: 2.004 MB / 468.3 MB, free: 4.078 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00233/0.4123, allocations: 0.9877 MB / 469.3 MB, free: 3.543 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.4123, allocations: 1.25 kB / 469.3 MB, free: 3.543 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001296/0.4136, allocations: 0.6173 MB / 470 MB, free: 3.168 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008385/0.4145, allocations: 147.8 kB / 470.1 MB, free: 3.094 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.4272, allocations: 7.463 MB / 477.6 MB, free: 13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007114/0.4279, allocations: 0.9814 MB / 478.5 MB, free: 12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004758/0.4283, allocations: 89.47 kB / 478.6 MB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004592/0.4288, allocations: 319.3 kB / 478.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4288, allocations: 4 kB / 478.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05772/0.4865, allocations: 19.16 MB / 498.1 MB, free: 8.656 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.73, allocations: 7.875 kB / 498.1 MB, free: 8.648 MB / 398.1 MB " [Timeout remaining time 648] (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.9984e-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: 14.204084243625402] 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'] 11.820844553876668 11.834880621 11.472179032 Calling exit ...