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.001149/0.00115, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001247/0.001248, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.83 kB / 307.1 MB, free: 0.5039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1069, allocations: 50.53 MB / 357.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004963/0.1119, allocations: 2.938 MB / 360.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.1137, allocations: 0.7673 MB / 361.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003171/0.114, allocations: 7.938 kB / 361.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.1143, allocations: 51.5 kB / 361.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004148/0.1147, allocations: 99.19 kB / 361.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003892/0.1151, allocations: 115.8 kB / 361.6 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006346/0.1158, allocations: 418.4 kB / 362 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002928/0.1161, allocations: 131.2 kB / 362.1 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.1164, allocations: 155.4 kB / 362.3 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002792/0.1167, allocations: 179.2 kB / 362.4 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.703e-05/0.1167, allocations: 40 kB / 362.5 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-05/0.1168, allocations: 40 kB / 362.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.897e-05/0.1169, allocations: 87.62 kB / 362.6 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002114/0.1172, allocations: 171.3 kB / 362.8 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004963/0.1177, allocations: 446.7 kB / 363.2 MB, free: 8.344 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1177, allocations: 0 / 363.2 MB, free: 8.344 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1177, allocations: 0 / 363.2 MB, free: 8.344 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.1177, allocations: 3.938 kB / 363.2 MB, free: 8.34 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.001533/0.1192, allocations: 0.677 MB / 363.9 MB, free: 7.605 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.1193, allocations: 12.03 kB / 363.9 MB, free: 7.594 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.005e-05/0.1194, allocations: 62.72 kB / 364 MB, free: 7.523 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.54e-05/0.1195, allocations: 32.56 kB / 364 MB, free: 7.492 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005039/0.12, allocations: 295.6 kB / 364.3 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.12, allocations: 16.94 kB / 364.3 MB, free: 7.145 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/0.1201, allocations: 32.38 kB / 364.3 MB, free: 7.113 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007679/0.1209, allocations: 327.7 kB / 364.6 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1209, allocations: 4 kB / 364.7 MB, free: 6.777 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.1209, allocations: 8 kB / 364.7 MB, free: 6.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.121, allocations: 11.98 kB / 364.7 MB, free: 6.758 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008408/0.1218, allocations: 282.1 kB / 364.9 MB, free: 6.484 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00213/0.124, allocations: 1.154 MB / 366.1 MB, free: 5.246 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008871/0.1249, allocations: 250.5 kB / 366.3 MB, free: 4.992 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003503/0.1252, allocations: 104.8 kB / 366.4 MB, free: 4.887 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.1253, allocations: 0 / 366.4 MB, free: 4.887 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005984/0.1259, allocations: 181.8 kB / 366.6 MB, free: 4.688 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 3.025e-06/0.1259, allocations: 4 kB / 366.6 MB, free: 4.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.00255/0.1284, allocations: 0.6667 MB / 367.3 MB, free: 3.992 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/0.1285, allocations: 110.8 kB / 367.4 MB, free: 3.859 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.1289, allocations: 286.6 kB / 367.7 MB, free: 3.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.1289, allocations: 29.7 kB / 367.7 MB, free: 3.535 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.129, allocations: 203.5 kB / 367.9 MB, free: 3.332 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.1291, allocations: 43.44 kB / 368 MB, free: 3.289 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.1292, allocations: 53.84 kB / 368 MB, free: 3.227 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1294, allocations: 334.8 kB / 368.3 MB, free: 2.891 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003859/0.1298, allocations: 112.4 kB / 368.4 MB, free: 2.781 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004452/0.1302, allocations: 205.2 kB / 368.6 MB, free: 2.535 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007763/0.131, allocations: 324.5 kB / 369 MB, free: 2.172 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.131, allocations: 4 kB / 369 MB, free: 2.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001326/0.1323, allocations: 474.5 kB / 369.4 MB, free: 1.691 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.339e-05/0.1324, allocations: 33.7 kB / 369.5 MB, free: 1.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.1324, allocations: 4 kB / 369.5 MB, free: 1.648 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003953/0.1328, allocations: 88.86 kB / 369.6 MB, free: 1.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.133, allocations: 51.89 kB / 369.6 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1647/0.2978, allocations: 2.065 MB / 371.7 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004157/0.2982, allocations: 55.98 kB / 371.7 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.2983, allocations: 10.5 kB / 371.7 MB, free: 19.04 MB / 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 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001573/0.2984, allocations: 158.8 kB / 371.9 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.2985, allocations: 20.58 kB / 371.9 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.242e-05/0.2986, allocations: 28.83 kB / 371.9 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.2986, allocations: 1.438 kB / 371.9 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.2986, allocations: 1.891 kB / 371.9 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2986, allocations: 0.6094 kB / 371.9 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.2989, allocations: 334.6 kB / 372.3 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2989, allocations: 0 / 372.3 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.2991, allocations: 28.08 kB / 372.3 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003156/0.2994, allocations: 89.16 kB / 372.4 MB, free: 18.72 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.2994, allocations: 1.219 kB / 372.4 MB, free: 18.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002385/0.3018, allocations: 1.968 MB / 374.4 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3018, allocations: 4.297 kB / 374.4 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.303, allocations: 368.9 kB / 374.7 MB, free: 17.17 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.93e-05/0.3031, allocations: 102.3 kB / 374.8 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.176e-05/0.3032, allocations: 10.23 kB / 374.8 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.3034, allocations: 29.84 kB / 374.9 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.961e-05/0.3035, allocations: 25.02 kB / 374.9 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.3036, allocations: 9.562 kB / 374.9 MB, free: 17.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002166/0.3038, allocations: 200.2 kB / 375.1 MB, free: 16.99 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3038, allocations: 3.781 kB / 375.1 MB, free: 16.99 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004692/0.3043, allocations: 83.89 kB / 375.2 MB, free: 16.98 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001322/0.3056, allocations: 0.8998 MB / 376.1 MB, free: 16.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.3071, allocations: 0.5035 MB / 376.6 MB, free: 16.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3071, allocations: 0 / 376.6 MB, free: 16.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005103/0.3076, allocations: 238.6 kB / 376.8 MB, free: 16.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.308, allocations: 51 kB / 376.9 MB, free: 16.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007449/0.3154, allocations: 3.6 MB / 380.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.3157, allocations: 0.7563 MB / 381.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001535/0.3158, allocations: 24.69 kB / 381.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.316, allocations: 83.92 kB / 381.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.316, allocations: 0 / 381.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.3455, allocations: 6.749 MB / 388.1 MB, free: 11.56 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.56, allocations: 8.438 kB / 388.1 MB, free: 11.55 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches