Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.OpAmps.NonInvertingAmp,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009172/0.0009171, allocations: 99.3 kB / 16.96 MB, free: 6.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009701/0.00097, allocations: 179 kB / 17.84 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.4 MB / 224 MB, free: 13.07 MB / 190.1 MB 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.0005127/0.0005128, allocations: 16 kB / 280.9 MB, free: 3.613 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1265, allocations: 47.59 MB / 328.5 MB, free: 3.957 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.003494/0.1301, allocations: 2.291 MB / 330.8 MB, free: 1.648 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.1314, allocations: 0.683 MB / 331.4 MB, free: 0.957 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.1316, allocations: 4 kB / 331.5 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.1318, allocations: 35.7 kB / 331.5 MB, free: 0.918 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.1319, allocations: 67.45 kB / 331.6 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.1322, allocations: 67.91 kB / 331.6 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003843/0.1326, allocations: 318.6 kB / 331.9 MB, free: 484 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/0.1329, allocations: 69.08 kB / 332 MB, free: 420 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.1331, allocations: 111.5 kB / 332.1 MB, free: 308 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.1333, allocations: 127.4 kB / 332.2 MB, free: 180 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.741e-05/0.1333, allocations: 16 kB / 332.2 MB, free: 164 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.347e-05/0.1334, allocations: 16 kB / 332.3 MB, free: 148 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.956e-05/0.1335, allocations: 55.69 kB / 332.3 MB, free: 92 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.1336, allocations: 69.58 kB / 332.4 MB, free: 16 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.1339, allocations: 239.6 kB / 332.6 MB, free: 15.78 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1339, allocations: 0 / 332.6 MB, free: 15.78 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1339, allocations: 0 / 332.6 MB, free: 15.78 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.1339, allocations: 4 kB / 332.6 MB, free: 15.78 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001255/0.1352, allocations: 0.6067 MB / 333.2 MB, free: 15.11 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/0.1353, allocations: 12.03 kB / 333.2 MB, free: 15.1 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.533e-05/0.1353, allocations: 54.55 kB / 333.3 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.329e-05/0.1354, allocations: 31.62 kB / 333.3 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.1359, allocations: 270.3 kB / 333.6 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.1359, allocations: 16.44 kB / 333.6 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.523e-05/0.1359, allocations: 24 kB / 333.6 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006757/0.1366, allocations: 255.2 kB / 333.9 MB, free: 14.4 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1367, allocations: 0 / 333.9 MB, free: 14.4 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.1367, allocations: 12 kB / 333.9 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.1367, allocations: 4 kB / 333.9 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007624/0.1375, allocations: 297.5 kB / 334.2 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.1391, allocations: 0.8816 MB / 335.1 MB, free: 13.15 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007221/0.1398, allocations: 258.6 kB / 335.3 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.1402, allocations: 120.7 kB / 335.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.1402, allocations: 3.938 kB / 335.4 MB, free: 12.76 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000593/0.1408, allocations: 201.7 kB / 335.6 MB, free: 12.54 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 4.909e-06/0.1408, allocations: 4 kB / 335.6 MB, free: 12.54 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.002041/0.1429, allocations: 0.7059 MB / 336.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.221e-05/0.143, allocations: 114.8 kB / 336.5 MB, free: 11.67 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.1433, allocations: 258.5 kB / 336.7 MB, free: 11.41 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.1433, allocations: 33.7 kB / 336.7 MB, free: 11.37 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.1434, allocations: 171.8 kB / 336.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.1435, allocations: 43.45 kB / 337 MB, free: 11.15 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.346e-05/0.1435, allocations: 4 kB / 337 MB, free: 11.15 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1436, allocations: 338.8 kB / 337.3 MB, free: 10.81 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.1439, allocations: 103.9 kB / 337.4 MB, free: 10.71 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/0.1443, allocations: 193.3 kB / 337.6 MB, free: 10.48 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003133/0.1446, allocations: 141.6 kB / 337.7 MB, free: 10.34 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.1446, allocations: 4 kB / 337.7 MB, free: 10.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001042/0.1456, allocations: 478.5 kB / 338.2 MB, free: 9.855 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.1458, allocations: 177.6 kB / 338.4 MB, free: 9.645 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.1458, allocations: 4 kB / 338.4 MB, free: 9.641 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003452/0.1461, allocations: 72.81 kB / 338.4 MB, free: 9.566 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.1463, allocations: 47.91 kB / 338.5 MB, free: 9.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.1486, allocations: 1.822 MB / 340.3 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002824/0.1489, allocations: 63.72 kB / 340.4 MB, free: 7.496 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.149, allocations: 8 kB / 340.4 MB, free: 7.488 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/0.149, allocations: 4 kB / 340.4 MB, free: 7.484 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000728/0.1497, allocations: 326.4 kB / 340.7 MB, free: 7.156 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1497, allocations: 8.031 kB / 340.7 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-05/0.1498, allocations: 40.8 kB / 340.7 MB, free: 7.105 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.15, allocations: 51.89 kB / 340.8 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/0.1515, allocations: 1.534 MB / 342.3 MB, free: 5.387 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.1518, allocations: 47.88 kB / 342.4 MB, free: 5.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.1518, allocations: 8 kB / 342.4 MB, free: 5.332 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002673/0.1521, allocations: 224.7 kB / 342.6 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.1521, allocations: 27.7 kB / 342.6 MB, free: 5.074 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.197e-05/0.1522, allocations: 25.78 kB / 342.7 MB, free: 5.051 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1522, allocations: 4 kB / 342.7 MB, free: 5.047 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1522, allocations: 0 / 342.7 MB, free: 5.047 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.1522, allocations: 7.984 kB / 342.7 MB, free: 5.039 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.1526, allocations: 289.4 kB / 343 MB, free: 4.707 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1526, allocations: 7.953 kB / 343 MB, free: 4.699 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.1528, allocations: 27.97 kB / 343 MB, free: 4.672 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002153/0.153, allocations: 72.81 kB / 343.1 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.153, allocations: 0 / 343.1 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/0.155, allocations: 1.737 MB / 344.8 MB, free: 2.727 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.155, allocations: 3.938 kB / 344.8 MB, free: 2.723 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008218/0.1559, allocations: 377.5 kB / 345.2 MB, free: 2.332 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.652e-05/0.156, allocations: 96.83 kB / 345.3 MB, free: 2.219 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.156, allocations: 7.953 kB / 345.3 MB, free: 2.211 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.1562, allocations: 43.95 kB / 345.3 MB, free: 2.168 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.108e-05/0.1563, allocations: 23.95 kB / 345.3 MB, free: 2.145 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.1563, allocations: 4 kB / 345.3 MB, free: 2.141 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002119/0.1566, allocations: 194 kB / 345.5 MB, free: 1.949 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1566, allocations: 0 / 345.5 MB, free: 1.949 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005997/0.1572, allocations: 123.7 kB / 345.6 MB, free: 1.828 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001272/0.1585, allocations: 0.8948 MB / 346.5 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.1601, allocations: 0.8 MB / 347.3 MB, free: 56 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1601, allocations: 4 kB / 347.3 MB, free: 52 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004737/0.1606, allocations: 251.1 kB / 347.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.1609, allocations: 40.53 kB / 347.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004222/0.1651, allocations: 2.039 MB / 349.7 MB, free: 13.63 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/0.1656, allocations: 0.7483 MB / 350.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.1657, allocations: 26.28 kB / 350.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.1659, allocations: 75.41 kB / 350.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of SimCode: time 6.62e-07/0.1659, allocations: 4 kB / 350.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.1874, allocations: 6.005 MB / 356.5 MB, free: 6.746 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002927/0.1878, allocations: 230.4 kB / 356.8 MB, free: 6.5 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.159/2.347, allocations: 0 / 356.8 MB, free: 6.5 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmp.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat does not exist to compare? outputFormat=mat