Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009506/0.0009504, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 221.3 MB / 235.5 MB, free: 2.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009693/0.0009693, allocations: 100.4 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.039e-05, allocations: 4 kB / 343.9 MB, free: 4.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1217, allocations: 50.42 MB / 394.4 MB, free: 1.75 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3088/0.4306, allocations: 81.11 MB / 475.5 MB, free: 6.359 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.4308, allocations: 80.61 kB / 475.5 MB, free: 6.281 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01782/0.4487, allocations: 6.456 MB / 482 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4487, allocations: 0 / 482 MB, free: 15.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.295e-05/0.4487, allocations: 8 kB / 482 MB, free: 15.79 MB / 362.7 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.001004/0.4498, allocations: 0.5888 MB / 482.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.4498, allocations: 8.031 kB / 482.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.129e-05/0.4499, allocations: 66.53 kB / 482.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.136e-05/0.45, allocations: 35.62 kB / 482.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.4503, allocations: 291 kB / 483 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.4504, allocations: 16.56 kB / 483 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.108e-05/0.4504, allocations: 24 kB / 483 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004549/0.4509, allocations: 276 kB / 483.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.4509, allocations: 3.938 kB / 483.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.4509, allocations: 12 kB / 483.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.451, allocations: 8 kB / 483.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003298/0.4513, allocations: 194.2 kB / 483.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001918/0.4532, allocations: 1.185 MB / 484.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.4536, allocations: 150.7 kB / 484.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.4537, allocations: 60.86 kB / 484.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.4537, allocations: 4 kB / 484.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002472/0.454, allocations: 141.9 kB / 485 MB, free: 12.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.454, allocations: 4 kB / 485.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006402/0.4546, allocations: 238.1 kB / 485.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.4547, allocations: 106.8 kB / 485.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.455, allocations: 259 kB / 485.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.455, allocations: 25.7 kB / 485.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.4551, allocations: 207.7 kB / 485.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.4552, allocations: 39.45 kB / 485.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.521e-05/0.4552, allocations: 8 kB / 485.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.4553, allocations: 334.8 kB / 486.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.4554, allocations: 60.23 kB / 486.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.4556, allocations: 165.3 kB / 486.5 MB, free: 11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.4558, allocations: 107.2 kB / 486.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.4558, allocations: 0 / 486.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007627/0.4566, allocations: 379.8 kB / 486.9 MB, free: 10.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.946e-05/0.4566, allocations: 31.11 kB / 487 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.4567, allocations: 7.984 kB / 487 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002258/0.4569, allocations: 56.83 kB / 487 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.4571, allocations: 51.91 kB / 487.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.4592, allocations: 1.737 MB / 488.8 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/0.4596, allocations: 71.97 kB / 488.9 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.4596, allocations: 15.88 kB / 488.9 MB, free: 8.395 MB / 362.7 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 () * 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.0001048/0.4597, allocations: 128.8 kB / 489 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.4598, allocations: 23.84 kB / 489.1 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.808e-05/0.4598, allocations: 21.95 kB / 489.1 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.4598, allocations: 12 kB / 489.1 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.4599, allocations: 0 / 489.1 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4599, allocations: 0 / 489.1 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.4602, allocations: 329.4 kB / 489.4 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4602, allocations: 0 / 489.4 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.4603, allocations: 27.98 kB / 489.4 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001324/0.4605, allocations: 52.83 kB / 489.5 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.4605, allocations: 0 / 489.5 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/0.4621, allocations: 1.639 MB / 491.1 MB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.4622, allocations: 7.984 kB / 491.1 MB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005754/0.4627, allocations: 269.6 kB / 491.4 MB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.713e-05/0.4628, allocations: 104.8 kB / 491.5 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/0.4629, allocations: 8.109 kB / 491.5 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.4631, allocations: 39.97 kB / 491.5 MB, free: 5.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/0.4632, allocations: 27.95 kB / 491.6 MB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.4633, allocations: 11.98 kB / 491.6 MB, free: 5.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002268/0.4635, allocations: 199.1 kB / 491.8 MB, free: 5.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4635, allocations: 0 / 491.8 MB, free: 5.285 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004257/0.4639, allocations: 79.84 kB / 491.9 MB, free: 5.207 MB / 362.7 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) * 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.0009358/0.4649, allocations: 0.8051 MB / 492.7 MB, free: 4.371 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009168/0.4658, allocations: 434.1 kB / 493.1 MB, free: 3.926 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4658, allocations: 0 / 493.1 MB, free: 3.926 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.4661, allocations: 194.5 kB / 493.3 MB, free: 3.723 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.4664, allocations: 49.11 kB / 493.3 MB, free: 3.676 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/0.4694, allocations: 0.8608 MB / 494.2 MB, free: 2.777 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.4697, allocations: 0.7716 MB / 495 MB, free: 1.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001306/0.4699, allocations: 26.06 kB / 495 MB, free: 1.953 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.47, allocations: 79.42 kB / 495.1 MB, free: 1.875 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.47, allocations: 0 / 495.1 MB, free: 1.875 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.4892, allocations: 6.018 MB / 0.4893 GB, free: 12.05 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/0.4895, allocations: 207.1 kB / 0.4895 GB, free: 11.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.259, allocations: 4 kB / 0.4895 GB, free: 11.82 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat does not exist to compare? outputFormat=mat