Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 123.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 208.2 kB / 20.75 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.396/1.396, allocations: 230.6 MB / 254.1 MB, free: 15.07 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 47.92 kB / 373 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09786/0.09943, allocations: 53.32 MB / 426.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.1995/0.2989, allocations: 6.098 MB / 432.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.3012, allocations: 1.558 MB / 434 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000357/0.3016, allocations: 19.28 kB / 434 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.3019, allocations: 173.9 kB / 434.2 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00045/0.3023, allocations: 300.5 kB / 434.5 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/0.303, allocations: 410.7 kB / 434.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009996/0.304, allocations: 1.398 MB / 436.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00041/0.3044, allocations: 299.1 kB / 436.6 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006358/0.305, allocations: 0.5022 MB / 437.1 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000581/0.3056, allocations: 0.5713 MB / 437.6 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.3058, allocations: 135.5 kB / 437.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003092/0.3061, allocations: 179.6 kB / 438 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.3062, allocations: 276.1 kB / 438.2 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004265/0.3067, allocations: 0.5849 MB / 438.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.3082, allocations: 1.548 MB / 440.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.3082, allocations: 4.156 kB / 440.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3082, allocations: 0.7031 kB / 440.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.149e-05/0.3082, allocations: 0 / 440.4 MB, free: 5.047 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.002422/0.3107, allocations: 1.408 MB / 441.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3107, allocations: 9.344 kB / 441.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001491/0.3109, allocations: 142.3 kB / 441.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003889/0.3112, allocations: 130.5 kB / 442 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000737/0.312, allocations: 0.5576 MB / 442.6 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-05/0.312, allocations: 67.28 kB / 442.7 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.3122, allocations: 90.88 kB / 442.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.3138, allocations: 0.8532 MB / 443.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.3138, allocations: 3.938 kB / 443.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.084e-05/0.3139, allocations: 37.25 kB / 443.6 MB, free: 3.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.3139, allocations: 20.75 kB / 443.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.3155, allocations: 0.8526 MB / 444.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005223/0.3207, allocations: 3.227 MB / 447.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.3218, allocations: 0.6271 MB / 448.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006879/0.3225, allocations: 396.3 kB / 448.8 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-05/0.3226, allocations: 13.83 kB / 448.8 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.3226, allocations: 47.72 kB / 448.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.245e-06/0.3226, allocations: 0 / 448.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004753/0.3274, allocations: 2.265 MB / 451.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.3274, allocations: 64.16 kB / 451.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00086/0.3283, allocations: 0.604 MB / 451.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.775e-05/0.3283, allocations: 42.69 kB / 451.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/0.3287, allocations: 450.7 kB / 452.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002752/0.329, allocations: 269.4 kB / 452.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/0.3293, allocations: 155.4 kB / 452.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.3296, allocations: 385.5 kB / 453 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007079/0.3303, allocations: 321.7 kB / 453.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008198/0.3311, allocations: 475.6 kB / 453.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.3326, allocations: 0.8017 MB / 454.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3326, allocations: 7.875 kB / 454.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002291/0.3349, allocations: 1.114 MB / 455.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.3349, allocations: 8.062 kB / 455.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.3349, allocations: 6.469 kB / 455.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006042/0.3355, allocations: 184.9 kB / 455.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000933/0.3365, allocations: 203.3 kB / 456.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004186/0.3407, allocations: 2.876 MB / 459 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000743/0.3414, allocations: 34.47 kB / 459 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/0.3415, allocations: 35.95 kB / 459.1 MB, free: 10.24 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.0004276/0.3419, allocations: 233.2 kB / 459.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.3421, allocations: 87.61 kB / 459.4 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.3423, allocations: 94.86 kB / 459.5 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.3423, allocations: 6.75 kB / 459.5 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.941e-05/0.3423, allocations: 2.875 kB / 459.5 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.3423, allocations: 3.984 kB / 459.5 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.3436, allocations: 0.8964 MB / 460.4 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3436, allocations: 4 kB / 460.4 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007497/0.3443, allocations: 145.5 kB / 460.5 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005365/0.3449, allocations: 181.8 kB / 460.7 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/0.3449, allocations: 21.89 kB / 460.7 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004023/0.349, allocations: 2.89 MB / 463.6 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.349, allocations: 0 / 463.6 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003009/0.352, allocations: 1.431 MB / 465 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003263/0.3523, allocations: 147.1 kB / 465.2 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.3524, allocations: 18.88 kB / 465.2 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006507/0.3531, allocations: 54.2 kB / 465.3 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.3532, allocations: 50.95 kB / 465.3 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.38e-05/0.3533, allocations: 27.89 kB / 465.3 MB, free: 5.641 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006454/0.3539, allocations: 420.9 kB / 465.8 MB, free: 5.398 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3539, allocations: 3.938 kB / 465.8 MB, free: 5.395 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009563/0.3549, allocations: 243.7 kB / 466 MB, free: 5.363 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.003213/0.3581, allocations: 2.003 MB / 468 MB, free: 3.988 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00244/0.3605, allocations: 0.9992 MB / 469 MB, free: 3.445 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3605, allocations: 1.562 kB / 469 MB, free: 3.445 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.3619, allocations: 0.6216 MB / 469.6 MB, free: 3.062 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008266/0.3627, allocations: 145.5 kB / 469.8 MB, free: 2.992 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/0.3751, allocations: 7.459 MB / 477.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006874/0.3758, allocations: 0.9814 MB / 478.2 MB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004068/0.3762, allocations: 90.08 kB / 478.3 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004615/0.3767, allocations: 319.3 kB / 478.6 MB, free: 11.5 MB / 382.1 MB Notification: Performance of SimCode: time 1.593e-06/0.3767, allocations: 4 kB / 478.6 MB, free: 11.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05875/0.4354, allocations: 19.15 MB / 497.8 MB, free: 8.602 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.32, allocations: 22.66 kB / 497.8 MB, free: 8.586 MB / 398.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DifferenceAmplifier_fmu --startTime=0 --stopTime=1e-08 --stepSize=1.9988e-12 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DifferenceAmplifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.610021485947073] 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.406612084945664 11.422130949 11.110955665 Calling exit ...