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.001831/0.001831, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002303/0.002303, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.518/1.518, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.001609/0.001609, allocations: 51.92 kB / 377.8 MB, free: 3.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2464, allocations: 53.37 MB / 431.2 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007508/0.2539, allocations: 6.11 MB / 437.3 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003269/0.2572, allocations: 1.568 MB / 438.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008204/0.258, allocations: 19.94 kB / 438.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006327/0.2587, allocations: 174.2 kB / 439 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009324/0.2596, allocations: 293.3 kB / 439.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.2606, allocations: 411.3 kB / 439.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001682/0.2623, allocations: 1.407 MB / 441.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004791/0.2628, allocations: 297.7 kB / 441.4 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007418/0.2635, allocations: 0.5062 MB / 441.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007339/0.2642, allocations: 0.5719 MB / 442.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.2644, allocations: 136 kB / 442.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002977/0.2647, allocations: 180 kB / 442.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002408/0.265, allocations: 271.1 kB / 443.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005488/0.2655, allocations: 0.5873 MB / 443.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.2671, allocations: 1.553 MB / 445.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2671, allocations: 0 / 445.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2671, allocations: 0 / 445.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.226e-05/0.2671, allocations: 0 / 445.2 MB, free: 8.727 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.002747/0.2699, allocations: 1.334 MB / 446.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.2699, allocations: 12.03 kB / 446.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001708/0.2701, allocations: 139.6 kB / 446.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003386/0.2704, allocations: 140.2 kB / 446.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008465/0.2713, allocations: 0.49 MB / 447.3 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.972e-05/0.2714, allocations: 66.38 kB / 447.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.2715, allocations: 88.38 kB / 447.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.2731, allocations: 0.8586 MB / 448.3 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.2731, allocations: 0 / 448.3 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.341e-05/0.2732, allocations: 40 kB / 448.4 MB, free: 5.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/0.2732, allocations: 20 kB / 448.4 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/0.2749, allocations: 0.8511 MB / 449.2 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005711/0.2806, allocations: 3.15 MB / 452.4 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.2818, allocations: 0.6258 MB / 453 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007229/0.2825, allocations: 399.2 kB / 453.4 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.504e-05/0.2826, allocations: 12.64 kB / 453.4 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.2826, allocations: 51.14 kB / 453.5 MB, free: 248 kB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.715e-06/0.2826, allocations: 0 / 453.5 MB, free: 248 kB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004846/0.2875, allocations: 2.194 MB / 455.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.2875, allocations: 60.06 kB / 455.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008161/0.2883, allocations: 0.6057 MB / 456.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.998e-05/0.2884, allocations: 41.7 kB / 456.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003989/0.2888, allocations: 456.2 kB / 456.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.289, allocations: 265.7 kB / 457.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/0.2893, allocations: 154.6 kB / 457.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002151/0.2895, allocations: 386.7 kB / 457.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006872/0.2902, allocations: 321.9 kB / 457.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008134/0.291, allocations: 472.6 kB / 458.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.2925, allocations: 0.8086 MB / 459.2 MB, free: 10.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2925, allocations: 7.938 kB / 459.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002225/0.2947, allocations: 1.111 MB / 460.3 MB, free: 9.219 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.2947, allocations: 8 kB / 460.3 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.2947, allocations: 12.05 kB / 460.3 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005694/0.2953, allocations: 180.7 kB / 460.5 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009061/0.2962, allocations: 203.7 kB / 460.7 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004056/0.3003, allocations: 2.778 MB / 463.5 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007078/0.301, allocations: 28.05 kB / 463.5 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.602e-05/0.3011, allocations: 35.98 kB / 463.5 MB, free: 5.867 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.0004322/0.3015, allocations: 231.4 kB / 463.8 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.3016, allocations: 87.42 kB / 463.8 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.3018, allocations: 99.25 kB / 463.9 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.3019, allocations: 8.125 kB / 463.9 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/0.3019, allocations: 4 kB / 464 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.3019, allocations: 7.984 kB / 464 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.3031, allocations: 0.8564 MB / 464.8 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.3031, allocations: 8 kB / 464.8 MB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007559/0.3038, allocations: 151.8 kB / 465 MB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005352/0.3043, allocations: 183.7 kB / 465.2 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.999e-05/0.3044, allocations: 19.98 kB / 465.2 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004844/0.3093, allocations: 2.784 MB / 468 MB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3093, allocations: 0 / 468 MB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004325/0.3136, allocations: 1.432 MB / 469.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002546/0.3138, allocations: 79.41 kB / 469.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.314, allocations: 16 kB / 469.5 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009488/0.3149, allocations: 55.95 kB / 469.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.3151, allocations: 56.55 kB / 469.6 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.473e-05/0.3152, allocations: 19.98 kB / 469.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008166/0.316, allocations: 427.2 kB / 470 MB, free: 15.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.316, allocations: 3.938 kB / 470 MB, free: 15.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001366/0.3174, allocations: 247.9 kB / 470.3 MB, free: 14.94 MB / 382.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.004887/0.3223, allocations: 1.996 MB / 472.3 MB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003517/0.3258, allocations: 0.9824 MB / 473.3 MB, free: 11.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/0.3258, allocations: 4 kB / 473.3 MB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00202/0.3278, allocations: 0.6119 MB / 473.9 MB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.3291, allocations: 162.1 kB / 474 MB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01899/0.3481, allocations: 7.459 MB / 481.5 MB, free: 3.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008705/0.3489, allocations: 0.9814 MB / 482.5 MB, free: 2.445 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005713/0.3495, allocations: 93.45 kB / 482.6 MB, free: 2.352 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006853/0.3502, allocations: 323.3 kB / 482.9 MB, free: 2.035 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3502, allocations: 0 / 482.9 MB, free: 2.035 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06509/0.4153, allocations: 19.74 MB / 0.4908 GB, free: 14.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.35, allocations: 19.08 kB / 0.4908 GB, free: 14.55 MB / 414.1 MB " [Timeout remaining time 647] (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: 15.844373586121947] 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'] 13.471032259054482 13.500482374 13.228121953 Calling exit ...