Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00166/0.00166, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00202/0.00202, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001363, allocations: 64.38 kB / 307 MB, free: 0.543 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09569/0.09707, allocations: 50.54 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004794/0.1019, allocations: 3.238 MB / 360.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.1041, allocations: 1.021 MB / 361.8 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003408/0.1045, allocations: 4 kB / 361.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.1048, allocations: 63.42 kB / 361.9 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000491/0.1053, allocations: 122.9 kB / 362 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004537/0.1058, allocations: 163.6 kB / 362.2 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005722/0.1063, allocations: 478 kB / 362.7 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002717/0.1066, allocations: 135.1 kB / 362.8 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000451/0.1071, allocations: 191.3 kB / 363 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003892/0.1075, allocations: 211 kB / 363.2 MB, free: 8.367 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.1076, allocations: 40 kB / 363.2 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002767/0.1079, allocations: 79.97 kB / 363.3 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.108, allocations: 95.66 kB / 363.4 MB, free: 8.156 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000298/0.1083, allocations: 210.9 kB / 363.6 MB, free: 7.949 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006554/0.109, allocations: 0.4946 MB / 364.1 MB, free: 7.453 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.109, allocations: 0 / 364.1 MB, free: 7.453 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.109, allocations: 0 / 364.1 MB, free: 7.453 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.986e-05/0.109, allocations: 4 kB / 364.1 MB, free: 7.449 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00164/0.1107, allocations: 0.7364 MB / 364.8 MB, free: 6.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.1107, allocations: 12.03 kB / 364.8 MB, free: 6.648 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.305e-05/0.1108, allocations: 66.72 kB / 364.9 MB, free: 6.574 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002234/0.1111, allocations: 56.39 kB / 365 MB, free: 6.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.1115, allocations: 315.3 kB / 365.3 MB, free: 6.176 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.1115, allocations: 29.03 kB / 365.3 MB, free: 6.148 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.6e-05/0.1116, allocations: 32.28 kB / 365.3 MB, free: 6.117 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006329/0.1122, allocations: 361.1 kB / 365.7 MB, free: 5.758 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1122, allocations: 0 / 365.7 MB, free: 5.758 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.1123, allocations: 12 kB / 365.7 MB, free: 5.746 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.1123, allocations: 8 kB / 365.7 MB, free: 5.738 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00051/0.1128, allocations: 238.5 kB / 365.9 MB, free: 5.504 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002196/0.115, allocations: 1.174 MB / 367.1 MB, free: 4.246 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007211/0.1158, allocations: 286.5 kB / 367.4 MB, free: 3.961 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005296/0.1163, allocations: 213.3 kB / 367.6 MB, free: 3.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009877/0.1173, allocations: 1.113 MB / 368.7 MB, free: 2.379 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.1174, allocations: 34.8 kB / 368.7 MB, free: 2.336 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 1.963e-06/0.1174, allocations: 0 / 368.7 MB, free: 2.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001525/0.1189, allocations: 0.5326 MB / 369.3 MB, free: 1.777 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.119, allocations: 85.11 kB / 369.4 MB, free: 1.676 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003811/0.1194, allocations: 349.5 kB / 369.7 MB, free: 1.324 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.1194, allocations: 29.7 kB / 369.7 MB, free: 1.289 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.1196, allocations: 212.1 kB / 369.9 MB, free: 1.078 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.777e-05/0.1196, allocations: 102.5 kB / 370 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.1198, allocations: 70.06 kB / 370.1 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1199, allocations: 350.7 kB / 370.5 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.1201, allocations: 96.7 kB / 370.5 MB, free: 464 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.1204, allocations: 186 kB / 370.7 MB, free: 248 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1724/0.2928, allocations: 281.8 kB / 371 MB, free: 20.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.2929, allocations: 3.156 kB / 371 MB, free: 20.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001/0.2939, allocations: 433.4 kB / 371.4 MB, free: 19.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.2939, allocations: 6.812 kB / 371.4 MB, free: 19.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.2939, allocations: 1.25 kB / 371.4 MB, free: 19.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002833/0.2942, allocations: 73.45 kB / 371.5 MB, free: 19.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.2946, allocations: 74.09 kB / 371.6 MB, free: 19.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.2961, allocations: 1.948 MB / 373.5 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.2964, allocations: 44.66 kB / 373.6 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.2964, allocations: 19.77 kB / 373.6 MB, free: 18.46 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001526/0.2966, allocations: 156.3 kB / 373.7 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.16e-05/0.2967, allocations: 35.02 kB / 373.8 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007139/0.2974, allocations: 334.6 kB / 374.1 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.2974, allocations: 1.875 kB / 374.1 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2974, allocations: 5.891 kB / 374.1 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2974, allocations: 1.312 kB / 374.1 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/0.2979, allocations: 390.5 kB / 374.5 MB, free: 18.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2979, allocations: 3.5 kB / 374.5 MB, free: 18.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003454/0.2982, allocations: 60.8 kB / 374.6 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001891/0.2984, allocations: 58.39 kB / 374.6 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.2985, allocations: 7.469 kB / 374.6 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003028/0.2988, allocations: 0.6178 MB / 375.2 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2988, allocations: 0.625 kB / 375.2 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009255/0.2997, allocations: 0.5173 MB / 375.8 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.979e-05/0.2998, allocations: 113.4 kB / 375.9 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.396e-05/0.2999, allocations: 10.03 kB / 375.9 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/0.3002, allocations: 20.8 kB / 375.9 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.3002, allocations: 14.14 kB / 375.9 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.3003, allocations: 12.69 kB / 375.9 MB, free: 17.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002355/0.3005, allocations: 241 kB / 376.2 MB, free: 16.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3005, allocations: 0 / 376.2 MB, free: 16.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004708/0.301, allocations: 112.6 kB / 376.3 MB, free: 16.91 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * 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 (20): * Single equations (assignments): 19 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001114/0.3021, allocations: 1.089 MB / 377.4 MB, free: 16.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008399/0.303, allocations: 428.8 kB / 377.8 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.303, allocations: 1.375 kB / 377.8 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.3033, allocations: 136.8 kB / 377.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.3038, allocations: 49.59 kB / 378 MB, free: 15.81 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004458/0.3082, allocations: 3.805 MB / 381.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.3084, allocations: 0.7905 MB / 382.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001675/0.3086, allocations: 36.02 kB / 382.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.3088, allocations: 125.6 kB / 382.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3088, allocations: 0 / 382.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.3378, allocations: 7.613 MB / 390.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.07, allocations: 5 kB / 390.3 MB, free: 10.64 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv --start-time 0 --stop-time 0.003 --timeout 50 --relative-tolerance 2e-07 --interface-type ModelExchange --solver CVode --output-interval 1.2e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches