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.001352/0.001352, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.001595/0.001595, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.382/1.382, allocations: 230.5 MB / 257.4 MB, free: 7.988 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.001925/0.001925, allocations: 59.91 kB / 377.8 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2507, allocations: 53.41 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.00747/0.2581, allocations: 6.113 MB / 437.3 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003183/0.2613, allocations: 1.572 MB / 438.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006864/0.262, allocations: 23.94 kB / 438.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005251/0.2625, allocations: 170.3 kB / 439.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008864/0.2634, allocations: 297.2 kB / 439.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.2644, allocations: 407.4 kB / 439.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001717/0.2661, allocations: 1.399 MB / 441.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005159/0.2667, allocations: 301.7 kB / 441.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008116/0.2675, allocations: 0.5062 MB / 442 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000839/0.2683, allocations: 0.5718 MB / 442.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002561/0.2686, allocations: 136 kB / 442.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003564/0.2689, allocations: 184 kB / 442.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002456/0.2692, allocations: 271.2 kB / 443.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005479/0.2697, allocations: 0.5872 MB / 443.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.2713, allocations: 1.549 MB / 445.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2713, allocations: 0 / 445.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2713, allocations: 0 / 445.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.2713, allocations: 0 / 445.3 MB, free: 8.562 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.002595/0.2739, allocations: 1.334 MB / 446.6 MB, free: 7.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.2739, allocations: 12.03 kB / 446.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001656/0.2741, allocations: 135.6 kB / 446.7 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000334/0.2744, allocations: 132.2 kB / 446.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008271/0.2753, allocations: 0.5017 MB / 447.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.836e-05/0.2753, allocations: 66.38 kB / 447.4 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.2755, allocations: 88.38 kB / 447.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.277, allocations: 0.8586 MB / 448.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.277, allocations: 0 / 448.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.171e-05/0.2771, allocations: 36 kB / 448.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/0.2771, allocations: 24 kB / 448.4 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001635/0.2787, allocations: 0.8511 MB / 449.3 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005586/0.2843, allocations: 3.154 MB / 452.4 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.2855, allocations: 0.6289 MB / 453.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006772/0.2862, allocations: 395 kB / 453.4 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.295e-05/0.2862, allocations: 12.66 kB / 453.5 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.2863, allocations: 43.22 kB / 453.5 MB, free: 92 kB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 3.166e-06/0.2863, allocations: 0 / 453.5 MB, free: 92 kB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.00467/0.2909, allocations: 2.201 MB / 455.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.291, allocations: 60.06 kB / 455.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007546/0.2918, allocations: 0.6097 MB / 456.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.394e-05/0.2918, allocations: 37.7 kB / 456.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003334/0.2921, allocations: 452.3 kB / 456.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.2924, allocations: 269.7 kB / 457.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/0.2926, allocations: 150.6 kB / 457.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.2928, allocations: 386.8 kB / 457.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000642/0.2935, allocations: 329.8 kB / 458 MB, free: 11.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007739/0.2942, allocations: 472.5 kB / 458.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.2956, allocations: 0.8047 MB / 459.2 MB, free: 10.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2956, allocations: 0 / 459.2 MB, free: 10.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002125/0.2978, allocations: 1.122 MB / 460.4 MB, free: 9.055 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.2978, allocations: 8 kB / 460.4 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.2978, allocations: 4 kB / 460.4 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005674/0.2984, allocations: 187.1 kB / 460.5 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008539/0.2992, allocations: 195.8 kB / 460.7 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00383/0.303, allocations: 2.783 MB / 463.5 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006078/0.3037, allocations: 32.05 kB / 463.6 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-05/0.3037, allocations: 39.97 kB / 463.6 MB, free: 5.703 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.0003838/0.3041, allocations: 229.7 kB / 463.8 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.3042, allocations: 87.42 kB / 463.9 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/0.3044, allocations: 95.27 kB / 464 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.3044, allocations: 8.125 kB / 464 MB, free: 5.273 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.69e-05/0.3045, allocations: 4 kB / 464 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.3045, allocations: 3.984 kB / 464 MB, free: 5.266 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.3056, allocations: 0.8642 MB / 464.9 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.3056, allocations: 0 / 464.9 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006984/0.3063, allocations: 143.8 kB / 465 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004959/0.3068, allocations: 188.6 kB / 465.2 MB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.123e-05/0.3068, allocations: 23.92 kB / 465.2 MB, free: 4.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003624/0.3105, allocations: 2.784 MB / 468 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3105, allocations: 0 / 468 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/0.313, allocations: 1.428 MB / 469.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.3131, allocations: 83.45 kB / 469.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.739e-05/0.3132, allocations: 19.94 kB / 469.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000571/0.3138, allocations: 43.97 kB / 469.6 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.3139, allocations: 60.52 kB / 469.6 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.704e-05/0.314, allocations: 31.98 kB / 469.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000496/0.3145, allocations: 423.1 kB / 470.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3145, allocations: 0 / 470.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008008/0.3153, allocations: 243.9 kB / 470.3 MB, free: 14.79 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.002934/0.3182, allocations: 1.996 MB / 472.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002175/0.3204, allocations: 0.9948 MB / 473.3 MB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3204, allocations: 4.062 kB / 473.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001298/0.3217, allocations: 0.615 MB / 473.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007219/0.3224, allocations: 135.4 kB / 474.1 MB, free: 11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/0.3338, allocations: 7.467 MB / 481.5 MB, free: 3.305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006806/0.3345, allocations: 0.9774 MB / 482.5 MB, free: 2.297 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003732/0.3349, allocations: 97.45 kB / 482.6 MB, free: 2.199 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004408/0.3353, allocations: 319.3 kB / 482.9 MB, free: 1.887 MB / 382.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3353, allocations: 0 / 482.9 MB, free: 1.887 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05991/0.3952, allocations: 19.73 MB / 0.4909 GB, free: 14.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.87, allocations: 3.938 kB / 0.4909 GB, free: 14.38 MB / 414.1 MB " [Timeout remaining time 647] (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: 15.199322022031993] 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'] 12.98625639011152 13.009333915 12.733495089 Calling exit ...