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.001345/0.001345, allocations: 111.1 kB / 20.44 MB, free: 1.062 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: 214.7 kB / 23.73 MB, free: 4.16 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.45/1.45, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.001933/0.001933, allocations: 59.91 kB / 377.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2991, allocations: 53.41 MB / 431.2 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.006904/0.3061, allocations: 5.347 MB / 436.5 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003028/0.3091, allocations: 1.521 MB / 438 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004256/0.3095, allocations: 15.94 kB / 438 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003645/0.3099, allocations: 174.2 kB / 438.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005478/0.3104, allocations: 297.3 kB / 438.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008722/0.3113, allocations: 427.2 kB / 438.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001513/0.3128, allocations: 1.391 MB / 440.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005256/0.3133, allocations: 275.4 kB / 440.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008903/0.3142, allocations: 0.5023 MB / 441.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007101/0.3149, allocations: 0.5055 MB / 441.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002703/0.3152, allocations: 136 kB / 441.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004242/0.3156, allocations: 180 kB / 441.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002987/0.3159, allocations: 275.1 kB / 442.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005033/0.3164, allocations: 0.4902 MB / 442.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.3181, allocations: 1.553 MB / 444.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3181, allocations: 0 / 444.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3181, allocations: 0 / 444.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.3181, allocations: 0 / 444.2 MB, free: 9.352 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.002628/0.3208, allocations: 1.334 MB / 445.5 MB, free: 7.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.3208, allocations: 15.92 kB / 445.6 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001887/0.321, allocations: 139.6 kB / 445.7 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003642/0.3214, allocations: 132.2 kB / 445.8 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008938/0.3223, allocations: 0.4939 MB / 446.3 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.29e-05/0.3223, allocations: 66.38 kB / 446.4 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.3225, allocations: 88.38 kB / 446.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.3243, allocations: 1.11 MB / 447.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.3243, allocations: 0 / 447.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.712e-05/0.3244, allocations: 36 kB / 447.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.3244, allocations: 24 kB / 447.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.3261, allocations: 0.8472 MB / 448.5 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005656/0.3317, allocations: 2.889 MB / 451.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.333, allocations: 0.6177 MB / 452 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000715/0.3337, allocations: 395.4 kB / 452.4 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.407e-05/0.3338, allocations: 12.64 kB / 452.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/0.3338, allocations: 47.16 kB / 452.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.635e-06/0.3338, allocations: 0 / 452.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.00483/0.3386, allocations: 2.205 MB / 454.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.3387, allocations: 64 kB / 454.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008046/0.3395, allocations: 0.6096 MB / 455.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.887e-05/0.3396, allocations: 41.64 kB / 455.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004134/0.34, allocations: 460.3 kB / 455.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.3402, allocations: 273.7 kB / 456.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003401/0.3405, allocations: 146.6 kB / 456.2 MB, free: 13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002282/0.3408, allocations: 386.8 kB / 456.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000678/0.3414, allocations: 325.9 kB / 456.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008069/0.3423, allocations: 471.8 kB / 457.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.3438, allocations: 0.8086 MB / 458.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3438, allocations: 0 / 458.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002266/0.346, allocations: 1.111 MB / 459.3 MB, free: 9.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.3461, allocations: 8 kB / 459.3 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.3461, allocations: 4 kB / 459.3 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005863/0.3467, allocations: 188.8 kB / 459.5 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008539/0.3475, allocations: 199.7 kB / 459.7 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004019/0.3515, allocations: 2.759 MB / 462.4 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007225/0.3522, allocations: 36.03 kB / 462.5 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.477e-05/0.3523, allocations: 32 kB / 462.5 MB, free: 6.477 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.0004446/0.3528, allocations: 230.6 kB / 462.7 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.3529, allocations: 83.47 kB / 462.8 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001945/0.3531, allocations: 95.27 kB / 462.9 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.3531, allocations: 8 kB / 462.9 MB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.789e-05/0.3531, allocations: 4 kB / 462.9 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.3531, allocations: 3.984 kB / 462.9 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.3542, allocations: 0.7084 MB / 463.6 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/0.3542, allocations: 7.922 kB / 463.6 MB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007095/0.3549, allocations: 143.8 kB / 463.8 MB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005183/0.3554, allocations: 183.4 kB / 464 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.467e-05/0.3555, allocations: 23.92 kB / 464 MB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004461/0.3599, allocations: 2.749 MB / 466.7 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.36, allocations: 256 / 466.7 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00308/0.363, allocations: 1.431 MB / 468.2 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/0.3632, allocations: 71.52 kB / 468.2 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.3633, allocations: 24 kB / 468.2 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006112/0.364, allocations: 51.95 kB / 468.3 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.3641, allocations: 52.55 kB / 468.4 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.624e-05/0.3641, allocations: 27.98 kB / 468.4 MB, free: 424 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000536/0.3647, allocations: 427.1 kB / 468.8 MB, free: 0 / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3647, allocations: 4.141 kB / 468.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008241/0.3655, allocations: 244.1 kB / 469 MB, free: 15.75 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.003153/0.3686, allocations: 2.004 MB / 471 MB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002362/0.371, allocations: 0.9863 MB / 472 MB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.371, allocations: 0 / 472 MB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00142/0.3724, allocations: 0.6158 MB / 472.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007832/0.3732, allocations: 143 kB / 472.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/0.3872, allocations: 7.463 MB / 480.2 MB, free: 4.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006328/0.3878, allocations: 395.2 kB / 480.6 MB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007069/0.3885, allocations: 89.47 kB / 480.7 MB, free: 3.758 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000555/0.389, allocations: 323.3 kB / 481 MB, free: 3.441 MB / 382.1 MB Notification: Performance of SimCode: time 1.583e-06/0.389, allocations: 0 / 481 MB, free: 3.441 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08225/0.4713, allocations: 20.64 MB / 0.4899 GB, free: 15.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.27, allocations: 2.969 kB / 0.4899 GB, free: 15.1 MB / 414.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.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: 14.726402597036213] 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.389227962121367 12.417578369 12.09439383 Calling exit ...