Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002237/0.002237, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 55.92 kB / 347.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2833, allocations: 49.15 MB / 396.4 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003917/0.2872, allocations: 2.908 MB / 399.3 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.2888, allocations: 0.9461 MB / 400.2 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.289, allocations: 4.219 kB / 400.2 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.2892, allocations: 56.67 kB / 400.3 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000397/0.2896, allocations: 134.7 kB / 400.4 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.2901, allocations: 142.9 kB / 400.5 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005251/0.2906, allocations: 489.6 kB / 401 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.2908, allocations: 99.83 kB / 401.1 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.2911, allocations: 195.5 kB / 401.3 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.2913, allocations: 189.3 kB / 401.5 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.584e-05/0.2914, allocations: 38.5 kB / 401.5 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.2916, allocations: 72.16 kB / 401.6 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.778e-05/0.2916, allocations: 96.69 kB / 401.7 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.2918, allocations: 175.1 kB / 401.9 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005949/0.2924, allocations: 0.4992 MB / 402.4 MB, free: 5.215 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2924, allocations: 0 / 402.4 MB, free: 5.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.2924, allocations: 1.062 kB / 402.4 MB, free: 5.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.2924, allocations: 0 / 402.4 MB, free: 5.215 MB / 318.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.001317/0.2937, allocations: 0.6654 MB / 403 MB, free: 4.738 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.2938, allocations: 12.98 kB / 403 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.479e-05/0.2939, allocations: 72 kB / 403.1 MB, free: 4.672 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.294, allocations: 51.06 kB / 403.2 MB, free: 4.648 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004618/0.2945, allocations: 241.7 kB / 403.4 MB, free: 4.445 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/0.2945, allocations: 26.72 kB / 403.4 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.604e-05/0.2946, allocations: 35.59 kB / 403.5 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007872/0.2954, allocations: 451 kB / 403.9 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.2954, allocations: 0 / 403.9 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.2954, allocations: 11.09 kB / 403.9 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.2954, allocations: 9.453 kB / 403.9 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004753/0.2959, allocations: 233.6 kB / 404.1 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.2977, allocations: 1.047 MB / 405.2 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000665/0.2984, allocations: 245.6 kB / 405.4 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005254/0.2989, allocations: 192.7 kB / 405.6 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003546/0.2993, allocations: 68.77 kB / 405.7 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.2993, allocations: 42.14 kB / 405.7 MB, free: 3.137 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 1.914e-06/0.2993, allocations: 0 / 405.7 MB, free: 3.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.001332/0.3006, allocations: 454.6 kB / 406.2 MB, free: 2.953 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.3007, allocations: 82.17 kB / 406.3 MB, free: 2.859 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.301, allocations: 343.9 kB / 406.6 MB, free: 2.672 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.3011, allocations: 35.08 kB / 406.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.3012, allocations: 216.6 kB / 406.8 MB, free: 2.449 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.296e-05/0.3012, allocations: 104 kB / 406.9 MB, free: 2.367 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.3013, allocations: 71.69 kB / 407 MB, free: 2.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.311e-05/0.3014, allocations: 350.6 kB / 407.3 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.3016, allocations: 96.28 kB / 407.4 MB, free: 1.957 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.3019, allocations: 204.4 kB / 407.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004375/0.3023, allocations: 280.3 kB / 407.9 MB, free: 1.629 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3023, allocations: 5.406 kB / 407.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000749/0.3031, allocations: 419.6 kB / 408.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.3031, allocations: 10.09 kB / 408.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3031, allocations: 2.938 kB / 408.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002645/0.3034, allocations: 72.11 kB / 408.4 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/0.3037, allocations: 71.66 kB / 408.5 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/0.3053, allocations: 1.833 MB / 410.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.3056, allocations: 42.22 kB / 410.4 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.3056, allocations: 17.91 kB / 410.4 MB, free: 15.73 MB / 334.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.0001941/0.3058, allocations: 151.1 kB / 410.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.587e-05/0.3059, allocations: 40.92 kB / 410.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007444/0.3066, allocations: 318.7 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.3066, allocations: 6.625 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.3066, allocations: 0 / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.3066, allocations: 3.031 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004842/0.3071, allocations: 320.4 kB / 411.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3071, allocations: 1.078 kB / 411.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003163/0.3074, allocations: 54.14 kB / 411.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000193/0.3076, allocations: 61.86 kB / 411.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.3077, allocations: 8.734 kB / 411.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004916/0.3082, allocations: 0.6073 MB / 411.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.3082, allocations: 4 kB / 411.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009869/0.3091, allocations: 0.5073 MB / 412.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.3093, allocations: 57.12 kB / 412.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.063e-05/0.3093, allocations: 8.031 kB / 412.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.3096, allocations: 17.83 kB / 412.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/0.3097, allocations: 23.36 kB / 412.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.3097, allocations: 7.062 kB / 412.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002837/0.31, allocations: 241.5 kB / 412.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.31, allocations: 4 kB / 412.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005134/0.3105, allocations: 110 kB / 412.9 MB, free: 14.07 MB / 334.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.001507/0.312, allocations: 1.066 MB / 414 MB, free: 13.24 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009346/0.3129, allocations: 389.7 kB / 414.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3129, allocations: 1.219 kB / 414.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003531/0.3133, allocations: 126.4 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.3137, allocations: 44.55 kB / 414.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005477/0.3192, allocations: 3.696 MB / 418.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.3194, allocations: 187.2 kB / 418.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000179/0.3196, allocations: 37.23 kB / 418.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.3197, allocations: 129.2 kB / 418.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3197, allocations: 3.938 kB / 418.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04126/0.361, allocations: 8.377 MB / 426.9 MB, free: 3.75 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/13.68, allocations: 7.844 kB / 426.9 MB, free: 3.742 MB / 334.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable opAmp.v_source in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv. Warning: Get data of variable opAmp.v_source from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv failed! Error: Could not read variable opAmp.x in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv. Warning: Get data of variable opAmp.x from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.240542747080326]