Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 120 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 190.9 kB / 21.39 MB, free: 1.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 207.6 MB / 231.8 MB, free: 4.094 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002565/0.002565, allocations: 55.92 kB / 342.3 MB, free: 9.941 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1207, allocations: 49.11 MB / 391.4 MB, free: 8.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007609/0.1283, allocations: 5.733 MB / 397.2 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003706/0.132, allocations: 1.457 MB / 398.6 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.133, allocations: 12 kB / 398.6 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007305/0.1338, allocations: 154.4 kB / 398.8 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.1349, allocations: 277.4 kB / 399.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.1361, allocations: 359.4 kB / 399.4 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002055/0.1381, allocations: 1.242 MB / 400.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006344/0.1388, allocations: 297 kB / 400.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007923/0.1396, allocations: 454.6 kB / 401.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000827/0.1404, allocations: 0.5252 MB / 401.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001846/0.1406, allocations: 124 kB / 402 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003049/0.1409, allocations: 167.9 kB / 402.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002292/0.1411, allocations: 255.2 kB / 402.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005296/0.1417, allocations: 0.5367 MB / 403 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.1432, allocations: 1.417 MB / 404.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1432, allocations: 0 / 404.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1432, allocations: 0 / 404.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.986e-05/0.1432, allocations: 4 kB / 404.4 MB, free: 11.61 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002605/0.1458, allocations: 1.308 MB / 405.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.1459, allocations: 16.03 kB / 405.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001662/0.146, allocations: 127.2 kB / 405.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.1462, allocations: 112.2 kB / 406 MB, free: 9.996 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008056/0.147, allocations: 0.5095 MB / 406.5 MB, free: 9.445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.522e-05/0.1471, allocations: 58.38 kB / 406.5 MB, free: 9.387 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.1472, allocations: 88.27 kB / 406.6 MB, free: 9.301 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.1487, allocations: 0.8806 MB / 407.5 MB, free: 8.406 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.1487, allocations: 4 kB / 407.5 MB, free: 8.402 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.372e-05/0.1488, allocations: 32 kB / 407.5 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.1488, allocations: 20 kB / 407.6 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.1504, allocations: 0.7886 MB / 408.3 MB, free: 7.562 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005002/0.1554, allocations: 3.018 MB / 411.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.1565, allocations: 0.611 MB / 412 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006866/0.1572, allocations: 374.4 kB / 412.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.747e-05/0.1573, allocations: 16.53 kB / 412.4 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.1573, allocations: 43.12 kB / 412.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of pre-optimization done (n=67): time 2.023e-06/0.1573, allocations: 0 / 412.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.004482/0.1618, allocations: 2.199 MB / 414.6 MB, free: 1.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.1619, allocations: 60.06 kB / 414.7 MB, free: 1.047 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000667/0.1625, allocations: 0.5067 MB / 415.2 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.519e-05/0.1626, allocations: 41.7 kB / 415.2 MB, free: 496 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003092/0.1629, allocations: 404.4 kB / 415.6 MB, free: 84 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002247/0.1631, allocations: 262 kB / 415.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.1634, allocations: 130.7 kB / 416 MB, free: 15.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.1636, allocations: 378.8 kB / 416.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006184/0.1642, allocations: 309.9 kB / 416.7 MB, free: 15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007154/0.1649, allocations: 425.1 kB / 417.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.1662, allocations: 0.7428 MB / 417.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1662, allocations: 0 / 417.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002198/0.1684, allocations: 1.036 MB / 418.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.34e-05/0.1684, allocations: 8 kB / 418.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.1685, allocations: 8 kB / 418.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006222/0.1691, allocations: 180.7 kB / 419 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008155/0.1699, allocations: 187.8 kB / 419.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00428/0.1742, allocations: 2.862 MB / 422.1 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006821/0.1749, allocations: 40.03 kB / 422.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.879e-05/0.1749, allocations: 28 kB / 422.1 MB, free: 9.281 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (84): * Single equations (assignments): 83 * 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,11,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004044/0.1753, allocations: 213.7 kB / 422.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.1755, allocations: 79.52 kB / 422.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/0.1757, allocations: 86.12 kB / 422.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.1757, allocations: 4 kB / 422.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.882e-05/0.1757, allocations: 4 kB / 422.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.1757, allocations: 7.984 kB / 422.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.177, allocations: 0.8416 MB / 423.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.177, allocations: 7.922 kB / 423.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007045/0.1777, allocations: 139.8 kB / 423.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005905/0.1783, allocations: 192.7 kB / 423.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-05/0.1783, allocations: 27.92 kB / 423.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004014/0.1823, allocations: 2.854 MB / 426.6 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.1824, allocations: 0 / 426.6 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002877/0.1852, allocations: 1.389 MB / 428 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/0.1855, allocations: 140.6 kB / 428.1 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.1856, allocations: 16 kB / 428.1 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006226/0.1862, allocations: 56.14 kB / 428.2 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.1864, allocations: 52.58 kB / 428.2 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.835e-05/0.1865, allocations: 27.98 kB / 428.3 MB, free: 2.922 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005431/0.187, allocations: 354.9 kB / 428.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.187, allocations: 3.938 kB / 428.6 MB, free: 2.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009907/0.188, allocations: 224 kB / 428.8 MB, free: 2.355 MB / 350.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.C.v,Transistor2.ct.v,Transistor2.Tr.C.v) * 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,11,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003177/0.1912, allocations: 1.953 MB / 430.8 MB, free: 376 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002567/0.1938, allocations: 0.9627 MB / 431.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.1938, allocations: 4.688 kB / 431.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001468/0.1952, allocations: 0.6074 MB / 432.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008712/0.1961, allocations: 138.4 kB / 432.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/0.209, allocations: 6.878 MB / 439.4 MB, free: 7.594 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007912/0.2098, allocations: 0.9539 MB / 440.3 MB, free: 6.609 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004902/0.2103, allocations: 85.05 kB / 440.4 MB, free: 6.523 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004611/0.2107, allocations: 291.3 kB / 440.7 MB, free: 6.238 MB / 366.1 MB Notification: Performance of SimCode: time 1.603e-06/0.2107, allocations: 0 / 440.7 MB, free: 6.238 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06036/0.2711, allocations: 17.69 MB / 458.4 MB, free: 4.477 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.6, allocations: 4.062 kB / 458.4 MB, free: 4.473 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_DifferenceAmplifier_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_DifferenceAmplifier.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.343417077325284] 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.687015989795327 11.8845267 11.739081144 Calling exit ...