Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008002/0.0008005, allocations: 100.1 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008459/0.0008459, allocations: 191.3 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246 MB, free: 10.24 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002999/0.0003001, allocations: 8 kB / 306.8 MB, free: 1.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1391, allocations: 51.5 MB / 358.3 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003629/0.1428, allocations: 2.514 MB / 360.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.144, allocations: 0.725 MB / 361.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.1442, allocations: 4 kB / 361.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.1443, allocations: 39.69 kB / 361.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.1445, allocations: 79.31 kB / 361.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.1448, allocations: 83.84 kB / 361.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003593/0.1452, allocations: 370.5 kB / 362.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002169/0.1454, allocations: 105.6 kB / 362.2 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.1456, allocations: 119.5 kB / 362.3 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.1458, allocations: 143.4 kB / 362.5 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.349e-05/0.1458, allocations: 20 kB / 362.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.254e-05/0.1459, allocations: 16 kB / 362.5 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.192e-05/0.1459, allocations: 51.77 kB / 362.6 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.267e-05/0.146, allocations: 85.52 kB / 362.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.1464, allocations: 351.2 kB / 363 MB, free: 9.012 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1464, allocations: 4 kB / 363 MB, free: 9.008 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1464, allocations: 0 / 363 MB, free: 9.008 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1464, allocations: 4 kB / 363 MB, free: 9.004 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001223/0.1476, allocations: 0.6341 MB / 363.6 MB, free: 8.312 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.1477, allocations: 12.03 kB / 363.7 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.264e-05/0.1478, allocations: 62.53 kB / 363.7 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.783e-05/0.1479, allocations: 35.62 kB / 363.7 MB, free: 8.195 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003988/0.1483, allocations: 286.4 kB / 364 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.1483, allocations: 28.48 kB / 364.1 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.115e-05/0.1484, allocations: 20 kB / 364.1 MB, free: 7.828 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007268/0.1491, allocations: 339.6 kB / 364.4 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1491, allocations: 0 / 364.4 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.1491, allocations: 8 kB / 364.4 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.1492, allocations: 7.938 kB / 364.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007669/0.1499, allocations: 318 kB / 364.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.1517, allocations: 1.17 MB / 365.9 MB, free: 5.906 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008281/0.1526, allocations: 274.6 kB / 366.2 MB, free: 5.629 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.1529, allocations: 132.7 kB / 366.3 MB, free: 5.496 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.153, allocations: 3.984 kB / 366.3 MB, free: 5.492 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005075/0.1535, allocations: 193.9 kB / 366.5 MB, free: 5.281 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.1535, allocations: 0 / 366.5 MB, free: 5.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002179/0.1557, allocations: 0.7486 MB / 367.2 MB, free: 4.508 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.1557, allocations: 102.8 kB / 367.3 MB, free: 4.383 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.1561, allocations: 290.6 kB / 367.6 MB, free: 4.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.1561, allocations: 29.7 kB / 367.7 MB, free: 4.055 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.1562, allocations: 203.5 kB / 367.9 MB, free: 3.852 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.8e-05/0.1563, allocations: 43.44 kB / 367.9 MB, free: 3.809 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/0.1563, allocations: 4 kB / 367.9 MB, free: 3.805 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1565, allocations: 334.8 kB / 368.2 MB, free: 3.469 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.1568, allocations: 120.2 kB / 368.3 MB, free: 3.348 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/0.1572, allocations: 229.2 kB / 368.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/0.1575, allocations: 165.5 kB / 368.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1576, allocations: 224 / 368.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00117/0.1587, allocations: 0.502 MB / 369.2 MB, free: 2.395 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.013e-05/0.1588, allocations: 45.69 kB / 369.3 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.1588, allocations: 4 kB / 369.3 MB, free: 2.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004062/0.1592, allocations: 92.78 kB / 369.4 MB, free: 2.246 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.1595, allocations: 55.91 kB / 369.4 MB, free: 2.191 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002617/0.1621, allocations: 1.916 MB / 371.3 MB, free: 144 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/0.1624, allocations: 63.73 kB / 371.4 MB, free: 80 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.1624, allocations: 12.06 kB / 371.4 MB, free: 68 kB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (24): * Single equations (assignments): 22 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.2299/0.3923, allocations: 145.8 kB / 371.6 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.018e-05/0.3924, allocations: 24.88 kB / 371.6 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.287e-05/0.3925, allocations: 25.44 kB / 371.6 MB, free: 19.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.3925, allocations: 2.531 kB / 371.6 MB, free: 19.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3925, allocations: 1.625 kB / 371.6 MB, free: 19.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3925, allocations: 1.375 kB / 371.6 MB, free: 19.22 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/0.3929, allocations: 327.7 kB / 371.9 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3929, allocations: 1.703 kB / 371.9 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.3931, allocations: 31.06 kB / 372 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003218/0.3935, allocations: 90.86 kB / 372.1 MB, free: 19.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.3935, allocations: 7.031 kB / 372.1 MB, free: 19.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002117/0.3956, allocations: 1.811 MB / 373.9 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3956, allocations: 0 / 373.9 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.3968, allocations: 402.9 kB / 374.3 MB, free: 17.63 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.408e-05/0.3969, allocations: 107.3 kB / 374.4 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.3969, allocations: 8.016 kB / 374.4 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.3972, allocations: 45.77 kB / 374.4 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.943e-05/0.3973, allocations: 19.8 kB / 374.4 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.3973, allocations: 7.547 kB / 374.4 MB, free: 17.53 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002304/0.3976, allocations: 198.1 kB / 374.6 MB, free: 17.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3976, allocations: 1.062 kB / 374.6 MB, free: 17.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004823/0.398, allocations: 81 kB / 374.7 MB, free: 17.45 MB / 302.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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001307/0.3994, allocations: 0.948 MB / 375.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.4007, allocations: 0.5237 MB / 376.2 MB, free: 16.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.4008, allocations: 4.812 kB / 376.2 MB, free: 16.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005314/0.4013, allocations: 255.9 kB / 376.4 MB, free: 16.54 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.4017, allocations: 45.92 kB / 376.5 MB, free: 16.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005456/0.4071, allocations: 2.335 MB / 378.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.4074, allocations: 0.7568 MB / 379.6 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001692/0.4076, allocations: 26.28 kB / 379.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.4077, allocations: 82.12 kB / 379.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4077, allocations: 0 / 379.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/0.4284, allocations: 6.076 MB / 385.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001333/0.4285, allocations: 232 kB / 386 MB, free: 13.8 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.101/2.53, allocations: 0 / 386 MB, free: 13.8 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat does not exist to compare? outputFormat=mat