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.0009182/0.0009182, allocations: 79.7 kB / 20.67 MB, free: 3.879 MB / 18.57 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.0008545/0.0008545, allocations: 170 kB / 23.95 MB, free: 0.6016 MB / 18.57 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 0.9007/0.9007, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.703e-06/1.703e-06, allocations: 0 / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.665e-05, allocations: 6.281 kB / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.004446/0.004472, allocations: 5.354 MB / 329.9 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002454/0.006926, allocations: 1.533 MB / 331.5 MB, free: 8.984 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003793/0.007305, allocations: 23.88 kB / 331.5 MB, free: 8.961 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.007572, allocations: 170.3 kB / 331.7 MB, free: 8.793 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000366/0.007938, allocations: 309 kB / 332 MB, free: 8.488 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006431/0.008581, allocations: 419.3 kB / 332.4 MB, free: 8.078 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001162/0.009743, allocations: 1.43 MB / 333.8 MB, free: 6.645 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003339/0.01008, allocations: 285.7 kB / 334.1 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006461/0.01072, allocations: 0.768 MB / 334.9 MB, free: 5.574 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003486/0.01107, allocations: 442.7 kB / 335.3 MB, free: 5.141 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.01117, allocations: 136 kB / 335.4 MB, free: 5.008 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.01137, allocations: 176 kB / 335.6 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.01149, allocations: 275.1 kB / 335.9 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002391/0.01173, allocations: 427 kB / 336.3 MB, free: 4.148 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.01273, allocations: 1.62 MB / 337.9 MB, free: 2.523 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.01274, allocations: 0 / 337.9 MB, free: 2.523 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.01274, allocations: 0 / 337.9 MB, free: 2.523 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.695e-05/0.01276, allocations: 4 kB / 337.9 MB, free: 2.52 MB / 298.7 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.001597/0.01436, allocations: 1.322 MB / 339.2 MB, free: 1.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.01441, allocations: 11.97 kB / 339.2 MB, free: 1.148 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001299/0.01454, allocations: 135.6 kB / 339.4 MB, free: 1.008 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002436/0.01479, allocations: 132.2 kB / 339.5 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005743/0.01536, allocations: 0.4971 MB / 340 MB, free: 364 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.091e-05/0.0154, allocations: 66.38 kB / 340.1 MB, free: 300 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.342e-05/0.01549, allocations: 92.31 kB / 340.2 MB, free: 208 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.01683, allocations: 1.102 MB / 341.3 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.01685, allocations: 192 / 341.3 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.466e-05/0.0169, allocations: 40.12 kB / 341.3 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.01692, allocations: 20 kB / 341.3 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.01794, allocations: 0.8511 MB / 342.2 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003291/0.02123, allocations: 2.895 MB / 345.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007873/0.02202, allocations: 0.6179 MB / 345.7 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004257/0.02245, allocations: 395.2 kB / 346.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.407e-05/0.02249, allocations: 12.64 kB / 346.1 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.02252, allocations: 47.22 kB / 346.1 MB, free: 10.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=69): time 2.545e-06/0.02252, allocations: 7.938 kB / 346.1 MB, free: 10.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.003254/0.02578, allocations: 2.195 MB / 348.3 MB, free: 7.785 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.02581, allocations: 60.06 kB / 348.4 MB, free: 7.715 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004719/0.02628, allocations: 0.6173 MB / 349 MB, free: 7.086 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.02632, allocations: 37.7 kB / 349 MB, free: 7.043 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.02652, allocations: 456.3 kB / 349.5 MB, free: 6.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.02665, allocations: 265.7 kB / 349.7 MB, free: 6.328 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.02681, allocations: 146.6 kB / 349.9 MB, free: 6.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.02692, allocations: 382.8 kB / 350.3 MB, free: 5.797 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003952/0.02732, allocations: 329.9 kB / 350.6 MB, free: 5.473 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000468/0.02779, allocations: 472.6 kB / 351 MB, free: 4.965 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008671/0.02865, allocations: 0.8008 MB / 351.8 MB, free: 4.117 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.02866, allocations: 0 / 351.8 MB, free: 4.117 MB / 314.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001275/0.02993, allocations: 1.107 MB / 353 MB, free: 2.996 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.02995, allocations: 7.938 kB / 353 MB, free: 2.988 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.02996, allocations: 8.062 kB / 353 MB, free: 2.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003479/0.03031, allocations: 195.5 kB / 353.2 MB, free: 2.789 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/0.03075, allocations: 199.7 kB / 353.4 MB, free: 2.594 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/0.0333, allocations: 2.752 MB / 356.1 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/0.03362, allocations: 39.97 kB / 356.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/0.03366, allocations: 35.98 kB / 356.2 MB, free: 15.66 MB / 330.7 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.0002556/0.03392, allocations: 233.6 kB / 356.4 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.018e-05/0.034, allocations: 83.48 kB / 356.5 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.863e-05/0.0341, allocations: 95.2 kB / 356.6 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.0341, allocations: 7.938 kB / 356.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.03411, allocations: 4 kB / 356.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.03412, allocations: 3.984 kB / 356.6 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006272/0.03475, allocations: 0.7123 MB / 357.3 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.03475, allocations: 0 / 357.3 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.0351, allocations: 143.8 kB / 357.4 MB, free: 14.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003168/0.03542, allocations: 183.2 kB / 357.6 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.18e-05/0.03546, allocations: 27.92 kB / 357.7 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002361/0.03782, allocations: 2.746 MB / 360.4 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.03782, allocations: 0 / 360.4 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.0394, allocations: 1.412 MB / 361.8 MB, free: 9.832 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.494e-05/0.03949, allocations: 79.41 kB / 361.9 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.97e-05/0.03957, allocations: 19.94 kB / 361.9 MB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/0.03986, allocations: 55.95 kB / 362 MB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003282/0.04019, allocations: 56.48 kB / 362 MB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.04023, allocations: 23.98 kB / 362 MB, free: 9.602 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003167/0.04054, allocations: 427.2 kB / 362.5 MB, free: 9.191 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04054, allocations: 4 kB / 362.5 MB, free: 9.188 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005316/0.04107, allocations: 239.9 kB / 362.7 MB, free: 8.953 MB / 330.7 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.001855/0.04293, allocations: 2.011 MB / 364.7 MB, free: 6.914 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.04425, allocations: 1.002 MB / 365.7 MB, free: 5.902 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.04425, allocations: 4 kB / 365.7 MB, free: 5.898 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007219/0.04497, allocations: 0.5997 MB / 366.3 MB, free: 5.281 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.04545, allocations: 143 kB / 366.5 MB, free: 5.141 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007455/0.05291, allocations: 7.298 MB / 373.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.05318, allocations: 391.2 kB / 374.1 MB, free: 13.2 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002793/0.05346, allocations: 89.47 kB / 374.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/0.05374, allocations: 320.4 kB / 374.5 MB, free: 12.79 MB / 346.7 MB Notification: Performance of SimCode: time 9.31e-07/0.05374, allocations: 4 kB / 374.5 MB, free: 12.79 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03655/0.0903, allocations: 20.77 MB / 395.3 MB, free: 8.34 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.336/7.426, allocations: 0 / 395.3 MB, free: 8.34 MB / 362.7 MB " [Timeout remaining time 652] (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: 9.09955302812159] 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'] 7.521887111477554 7.531654969 7.517185987 Calling exit ...